Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031
  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:= shat
  5. PKG_VERSION:= 0.9.7
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= da06846f35838b14d1513523dad84d24
  8. PKG_DESCR:= Source Hardware Address Translation - a tool for nomadic routing
  9. PKG_SECTION:= net
  10. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=shat/}
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,SHAT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  13. CONFIG_STYLE:= manual
  14. BUILD_STYLE:= manual
  15. INSTALL_STYLE:= manual
  16. do-build:
  17. ${MAKE} -C ${WRKBUILD}/src \
  18. CC="${TARGET_CC}" LD=${TARGET_CROSS}ld \
  19. CFLAGS="${TARGET_CFLAGS} -Wall -I${WRKBUILD}/include/linux/include -I${WRKBUILD}/include -DVERSION=\\\"${PKG_VERSION}\\\" -DDROP_NETBIOS"
  20. do-install:
  21. ${INSTALL_DIR} ${IDIR_SHAT}/usr/sbin
  22. ${INSTALL_BIN} ${WRKBUILD}/src/shat{c,d} ${IDIR_SHAT}/usr/sbin/
  23. include ${TOPDIR}/mk/pkg-bottom.mk