Makefile 1.2 KB

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