Makefile 1.7 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:= 2
  7. PKG_MD5SUM:= 5bcdbaced54f40b6cb1e9c9a8dbac411
  8. PKG_DESCR:= teredo application
  9. PKG_SECTION:= net/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_CLIENT MIREDO_SERVER
  14. PKGSD_MIREDO_CLIENT:= teredo client
  15. PKGSD_MIREDO_SERVER:= teredo relay daemon
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,MIREDO_CLIENT,miredo-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_MIREDO_CLIENT},${PKG_SECTION}))
  18. $(eval $(call PKG_template,MIREDO_SERVER,miredo-server,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_MIREDO_SERVER},${PKG_SECTION}))
  19. AUTOTOOL_STYLE:= autoreconf
  20. TARGET_CFLAGS+= -std=gnu99
  21. CONFIGURE_ENV+= ac_cv_file__proc_self_maps=yes
  22. CONFIGURE_ARGS+= --without-Judy \
  23. --without-libcap \
  24. --enable-teredo-client \
  25. --enable-miredo-user=root
  26. XAKE_FLAGS+= CXXLINK="\$${LINK}"
  27. miredo-client-install:
  28. ${INSTALL_DIR} ${IDIR_MIREDO_CLIENT}/etc/miredo ${IDIR_MIREDO_CLIENT}/usr/sbin
  29. ${INSTALL_DIR} ${IDIR_MIREDO_CLIENT}/usr/lib
  30. ${INSTALL_DATA} ${WRKINST}/etc/miredo/miredo.conf \
  31. ${IDIR_MIREDO_CLIENT}/etc/miredo
  32. ${CP} ${WRKINST}/usr/lib/libtun*.so* ${IDIR_MIREDO_CLIENT}/usr/lib
  33. ${CP} ${WRKINST}/usr/lib/libteredo.so* ${IDIR_MIREDO_CLIENT}/usr/lib
  34. ${INSTALL_BIN} ${WRKINST}/usr/sbin/miredo ${IDIR_MIREDO_CLIENT}/usr/sbin/
  35. miredo-server-install:
  36. ${INSTALL_DIR} ${IDIR_MIREDO_SERVER}/usr/sbin
  37. ${INSTALL_BIN} ${WRKINST}/usr/sbin/miredo-server \
  38. ${IDIR_MIREDO_SERVER}/usr/sbin/
  39. include ${TOPDIR}/mk/pkg-bottom.mk