Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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
  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. BUILD_FLAGS:= auto
  17. INSTALL_STYLE:= auto
  18. post-install:
  19. ${INSTALL_DIR} ${IDIR_L2TPNS}/etc/l2tpns
  20. ${CP} ${WRKINST}/etc/l2tpns/* ${IDIR_L2TPNS}/etc/l2tpns/
  21. ${INSTALL_DIR} ${IDIR_L2TPNS}/usr/lib/l2tpns
  22. ${CP} ${WRKINST}/usr/lib/l2tpns/* ${IDIR_L2TPNS}/usr/lib/l2tpns/
  23. ${INSTALL_DIR} ${IDIR_L2TPNS}/usr/sbin
  24. ${CP} ${WRKINST}/usr/sbin/* ${IDIR_L2TPNS}/usr/sbin/
  25. include ${TOPDIR}/mk/pkg-bottom.mk