Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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_STYLE:= gnu
  18. CONFIGURE_ARGS+= --with-configfile=/etc/radvd.conf \
  19. --with-logfile=/var/log/radvd.log \
  20. --with-pidfile=/var/run/radvd.pid
  21. BUILD_STYLE:= auto
  22. INSTALL_STYLE:= auto
  23. post-install:
  24. ${INSTALL_DIR} ${IDIR_RADVD}/etc ${IDIR_RADVD}/usr/sbin
  25. ${INSTALL_DATA} ./files/radvd.conf ${IDIR_RADVD}/etc/
  26. ${INSTALL_BIN} ${WRKINST}/usr/sbin/radvd ${IDIR_RADVD}/usr/sbin/
  27. ${INSTALL_BIN} ${WRKINST}/usr/sbin/radvdump ${IDIR_RADVD}/usr/sbin/
  28. include ${TOPDIR}/mk/pkg-bottom.mk