Makefile 1.6 KB

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