Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= aiccu
  5. PKG_VERSION:= 20070115
  6. PKG_RELEASE:= 9
  7. PKG_MD5SUM:= c9bcc83644ed788e22a7c3f3d4021350
  8. PKG_DESCR:= SixXS Automatic IPv6 Connectivity Client Utility
  9. PKG_SECTION:= ipv6
  10. PKG_DEPENDS:= kmod-ipv6 libpthread
  11. PKG_URL:= http://www.sixxs.net/
  12. PKG_SITES:= http://www.sixxs.net/archive/sixxs/aiccu/unix/
  13. DISTFILES:= $(PKG_NAME)_$(PKG_VERSION).tar.gz
  14. WRKDIST= ${WRKDIR}/$(PKG_NAME)
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,AICCU,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= manual
  18. INSTALL_STYLE:= manual
  19. TARGET_CPPFLAGS+= -D_REENTRANT -D_GNU_SOURCE -DAICCU_CONSOLE \
  20. -D_LINUX -DHAS_IFHEAD -DAICCU_TYPE=\"linux\"
  21. TARGET_LDFLAGS+= -pthread -lresolv
  22. MAKE_FLAGS+= CC='${TARGET_CC}' CFLAGS='${TARGET_CFLAGS}' LDFLAGS='${TARGET_LDFLAGS}'
  23. do-install:
  24. $(INSTALL_DIR) $(IDIR_AICCU)/usr/sbin $(IDIR_AICCU)/etc
  25. $(INSTALL_BIN) $(WRKBUILD)/unix-console/aiccu $(IDIR_AICCU)/usr/sbin/
  26. $(INSTALL_DATA) $(WRKBUILD)/doc/aiccu.conf $(IDIR_AICCU)/etc/aiccu.conf
  27. include ${TOPDIR}/mk/pkg-bottom.mk