Makefile 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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:= miredo
  5. PKG_VERSION:= 1.2.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 6ba484ad5e331514a8a3452da2b144e7
  8. PKG_DESCR:= A Teredo client and relay daemon
  9. PKG_SECTION:= ipv6
  10. PKG_URL:= http://www.remlab.net/
  11. PKG_SITES:= http://www.remlab.net/files/miredo/
  12. PKG_SUBPKGS:= MIREDO MIREDO_SERVER
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,MIREDO,miredo,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. $(eval $(call PKG_template,MIREDO_SERVER,miredo-server,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. TARGET_CFLAGS+= -std=gnu99
  18. CONFIGURE_ENV+= ac_cv_file__proc_self_maps=yes
  19. CONFIGURE_ARGS+= --without-Judy \
  20. --enable-teredo-client \
  21. --enable-miredo-user=root
  22. XAKE_FLAGS+= CXXLINK="\$${LINK}" \
  23. post-install:
  24. ${INSTALL_DIR} ${IDIR_MIREDO}/etc/miredo ${IDIR_MIREDO}/usr/sbin
  25. ${INSTALL_DIR} ${IDIR_MIREDO}/usr/lib
  26. ${INSTALL_DATA} ${WRKINST}/etc/miredo/miredo.conf \
  27. ${IDIR_MIREDO}/etc/miredo
  28. ${CP} ${WRKINST}/usr/lib/libtun*.so* ${IDIR_MIREDO}/usr/lib
  29. ${CP} ${WRKINST}/usr/lib/libteredo.so* ${IDIR_MIREDO}/usr/lib
  30. ${INSTALL_BIN} ${WRKINST}/usr/sbin/miredo ${IDIR_MIREDO}/usr/sbin/
  31. ${INSTALL_DIR} ${IDIR_MIREDO_SERVER}/usr/sbin
  32. ${INSTALL_BIN} ${WRKINST}/usr/sbin/miredo-server \
  33. ${IDIR_MIREDO_SERVER}/usr/sbin/
  34. include ${TOPDIR}/mk/pkg-bottom.mk