summaryrefslogtreecommitdiff
path: root/package/ttcp
diff options
context:
space:
mode:
Diffstat (limited to 'package/ttcp')
-rw-r--r--package/ttcp/Makefile8
-rw-r--r--package/ttcp/src/ttcp.c (renamed from package/ttcp/ttcp.c)0
2 files changed, 6 insertions, 2 deletions
diff --git a/package/ttcp/Makefile b/package/ttcp/Makefile
index 81f8daae2..e8df1cd43 100644
--- a/package/ttcp/Makefile
+++ b/package/ttcp/Makefile
@@ -10,14 +10,18 @@ PKG_DESCR:= A small utility to test TCP connection performance
PKG_SECTION:= net
NO_DISTFILES:= 1
-WRKDIST= ${WRKDIR}/ttcp
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,TTCP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+CONFIG_STYLE:= manual
+BUILD_STYLE:= manual
+INSTALL_STYLE:= manual
+
do-build:
- ${TARGET_CC} ${TARGET_CFLAGS} -o ${WRKBUILD}/ttcp ttcp.c
+ ${TARGET_CC} -Wall ${TCPPFLAGS} ${TCFLAGS} -o ${WRKBUILD}/ttcp \
+ ${WRKBUILD}/ttcp.c
do-install:
${INSTALL_DIR} ${IDIR_TTCP}/usr/bin
diff --git a/package/ttcp/ttcp.c b/package/ttcp/src/ttcp.c
index 3b1f07adf..3b1f07adf 100644
--- a/package/ttcp/ttcp.c
+++ b/package/ttcp/src/ttcp.c