Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= e807ad7e9a76d46b6133df391385cd31
  8. PKG_DESCR:= Routing Advertisement Daemon for IPv6
  9. PKG_SECTION:= ipv6
  10. PKG_DEPENDS:= kmod-ipv6 libdaemon
  11. PKG_BUILDDEP:= 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. CONFIGURE_ARGS+= --with-configfile=/etc/radvd.conf \
  18. --with-logfile=/var/log/radvd.log \
  19. --with-pidfile=/var/run/radvd.pid
  20. radvd-install:
  21. ${INSTALL_DIR} ${IDIR_RADVD}/etc ${IDIR_RADVD}/usr/sbin
  22. ${INSTALL_DATA} ./files/radvd.conf ${IDIR_RADVD}/etc/
  23. ${INSTALL_BIN} ${WRKINST}/usr/sbin/radvd ${IDIR_RADVD}/usr/sbin/
  24. ${INSTALL_BIN} ${WRKINST}/usr/sbin/radvdump ${IDIR_RADVD}/usr/sbin/
  25. include ${TOPDIR}/mk/pkg-bottom.mk