Makefile 578 B

1234567891011121314151617181920212223242526
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= ttcp
  7. PKG_VERSION:= 3.8
  8. PKG_RELEASE:= 1
  9. NO_DISTFILES:= 1
  10. WRKDIST= ${WRKDIR}/ttcp
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,TTCP,ttcp,${PKG_VERSION}-${PKG_RELEASE}))
  13. do-build:
  14. ${TARGET_CC} ${TCFLAGS} -o ${WRKBUILD}/ttcp ttcp.c
  15. do-install:
  16. ${INSTALL_DIR} ${IDIR_TTCP}/usr/bin
  17. ${INSTALL_BIN} ${WRKBUILD}/ttcp ${IDIR_TTCP}/usr/bin/
  18. include ${TOPDIR}/mk/pkg-bottom.mk