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.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 614876420d76cd2bb5bcb49760c8b9e3
  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. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,RADVD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_STYLE:= gnu
  17. CONFIGURE_ARGS+= --with-configfile=/etc/radvd.conf \
  18. --with-logfile=/var/log/radvd.log \
  19. --with-pidfile=/var/run/radvd.pid
  20. BUILD_STYLE:= auto
  21. INSTALL_STYLE:= auto
  22. post-install:
  23. ${INSTALL_DIR} ${IDIR_RADVD}/etc ${IDIR_RADVD}/usr/sbin
  24. ${INSTALL_DATA} ./files/radvd.conf ${IDIR_RADVD}/etc/
  25. ${INSTALL_BIN} ${WRKINST}/usr/sbin/radvd ${IDIR_RADVD}/usr/sbin/
  26. ${INSTALL_BIN} ${WRKINST}/usr/sbin/radvdump ${IDIR_RADVD}/usr/sbin/
  27. include ${TOPDIR}/mk/pkg-bottom.mk