Makefile 1.1 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:= radvd
  5. PKG_VERSION:= 1.9.7
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 85141c7dc7d35e5499e16052742f1040
  8. PKG_DESCR:= Routing Advertisement Daemon for IPv6
  9. PKG_SECTION:= ipv6
  10. PKG_DEPENDS:= kmod-ipv6 libdaemon
  11. PKG_BUILDDEP:= autotool libdaemon
  12. PKG_URL:= http://www.litech.org/radvd/
  13. PKG_SITES:= http://v6web.litech.org/radvd/dist/
  14. PKG_HOST_DEPENDS:= !freebsd
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,RADVD,radvd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. AUTOTOOL_STYLE:= autoreconf
  18. CONFIGURE_ARGS+= --with-configfile=/etc/radvd.conf \
  19. --with-logfile=/var/log/radvd.log \
  20. --with-pidfile=/var/run/radvd.pid
  21. radvd-install:
  22. ${INSTALL_DIR} ${IDIR_RADVD}/etc ${IDIR_RADVD}/usr/sbin
  23. ${INSTALL_DATA} ./files/radvd.conf ${IDIR_RADVD}/etc/
  24. ${INSTALL_BIN} ${WRKINST}/usr/sbin/radvd ${IDIR_RADVD}/usr/sbin/
  25. ${INSTALL_BIN} ${WRKINST}/usr/sbin/radvdump ${IDIR_RADVD}/usr/sbin/
  26. include ${TOPDIR}/mk/pkg-bottom.mk