1
0

Makefile 1.0 KB

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