3 include $(TOPDIR
)/rules.mk
9 PKG_BUILD_DIR
:=$(BUILD_DIR
)/ttcp
11 include $(TOPDIR
)/package
/rules.mk
13 $(eval
$(call PKG_template
,TTCP
,ttcp
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
15 $(PKG_BUILD_DIR
)/.prepared
:
16 mkdir
-p
$(PKG_BUILD_DIR
)
19 $(PKG_BUILD_DIR
)/.configured
:
22 $(PKG_BUILD_DIR
)/.built
:
23 $(TARGET_CC
) $(TARGET_CFLAGS
) -o
$(PKG_BUILD_DIR
)/ttcp ttcp.c
27 install -d
-m0755
$(IDIR_TTCP
)/usr
/bin
28 install -m0755
$(PKG_BUILD_DIR
)/ttcp
$(IDIR_TTCP
)/usr
/bin
/
29 $(RSTRIP
) $(IDIR_TTCP
)
30 $(IPKG_BUILD
) $(IDIR_TTCP
) $(PACKAGE_DIR
)