1
0

Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  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:= 8
  7. PKG_MD5SUM:= c9bcc83644ed788e22a7c3f3d4021350
  8. PKG_DESCR:= SixXS Automatic IPv6 Connectivity Client Utility
  9. PKG_SECTION:= net
  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. TCFLAGS+= -D_REENTRANT -D_GNU_SOURCE -DAICCU_CONSOLE \
  18. -D_LINUX -DHAS_IFHEAD -DAICCU_TYPE=\"linux\"
  19. TLDFLAGS+= -lpthread -lresolv
  20. BUILD_STYLE:= auto
  21. MAKE_FLAGS+= CC='${TARGET_CC}' CFLAGS='${TCFLAGS}' LDFLAGS='${TLDFLAGS}'
  22. do-install:
  23. $(INSTALL_DIR) $(IDIR_AICCU)/usr/sbin $(IDIR_AICCU)/etc
  24. $(INSTALL_BIN) $(WRKBUILD)/unix-console/aiccu $(IDIR_AICCU)/usr/sbin/
  25. $(INSTALL_DATA) $(WRKBUILD)/doc/aiccu.conf $(IDIR_AICCU)/etc/aiccu.conf
  26. include ${TOPDIR}/mk/pkg-bottom.mk