Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031
  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:= l2tpns
  5. PKG_VERSION:= 2.1.21
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 385c58055723ebc6c38062acd2db9c2c
  8. PKG_DESCR:= A layer 2 tunneling protocol network server (LNS)
  9. PKG_SECTION:= net/security
  10. PKG_DEPENDS:= libcli
  11. PKG_BUILDDEP+= libcli
  12. PKG_URL:= http://l2tpns.sourceforge.net/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=l2tpns/}
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,L2TPNS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIG_STYLE:= manual
  17. post-install:
  18. ${INSTALL_DIR} ${IDIR_L2TPNS}/etc/l2tpns
  19. ${CP} ${WRKINST}/etc/l2tpns/* ${IDIR_L2TPNS}/etc/l2tpns/
  20. ${INSTALL_DIR} ${IDIR_L2TPNS}/usr/lib/l2tpns
  21. ${CP} ${WRKINST}/usr/lib/l2tpns/* ${IDIR_L2TPNS}/usr/lib/l2tpns/
  22. ${INSTALL_DIR} ${IDIR_L2TPNS}/usr/sbin
  23. ${CP} ${WRKINST}/usr/sbin/* ${IDIR_L2TPNS}/usr/sbin/
  24. include ${TOPDIR}/mk/pkg-bottom.mk