Makefile 1.0 KB

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