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.5
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 78598b60ed9d64920739189c3dc0934d
  8. PKG_DESCR:= Routing Advertisement Daemon for IPv6
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= kmod-ipv6
  11. PKG_URL:= http://www.litech.org/radvd
  12. PKG_SITES:= http://v6web.litech.org/radvd/dist/ \
  13. http://download.sourcemage.org/mirror/
  14. PKG_HOST_DEPENDS:= !freebsd
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,RADVD,${PKG_NAME},${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. post-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