Makefile 1007 B

1234567891011121314151617181920212223242526272829303132333435
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= cutter
  5. PKG_VERSION:= 1.03
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 50093db9b64277643969ee75b83ebbd1
  8. PKG_DESCR:= Abort TCP/IP connections routed over a firewall
  9. PKG_SECTION:= firewall
  10. PKG_URL:= http://www.lowth.com/cutter/software/
  11. PKG_SITES:= http://openadk.org/distfiles/
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,CUTTER,cutter,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIG_STYLE:= manual
  16. BUILD_STYLE:= manual
  17. INSTALL_STYLE:= manual
  18. TARGET_CFLAGS+= -Wall
  19. do-build:
  20. ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
  21. ${WRKBUILD}/cutter.c -o ${WRKBUILD}/cutter
  22. do-install:
  23. ${INSTALL_DIR} ${IDIR_CUTTER}/usr/sbin
  24. ${INSTALL_BIN} ${WRKBUILD}/cutter ${IDIR_CUTTER}/usr/sbin
  25. include ${TOPDIR}/mk/pkg-bottom.mk