Makefile 1.0 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:= vpnc
  5. PKG_VERSION:= 0.5.3
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 4378f9551d5b077e1770bbe09995afb3
  8. PKG_DESCR:= client for cisco3000 VPN Concentrator.
  9. PKG_SECTION:= net/security
  10. PKG_DEPENDS:= libgcrypt libgpg-error kmod-tun
  11. PKG_BUILDDEP:= libgcrypt libgpg-error
  12. PKG_URL:= http://www.unix-ag.uni-kl.de/~massar/vpnc/
  13. PKG_SITES:= http://www.unix-ag.uni-kl.de/~massar/vpnc/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,VPNC,vpnc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIG_STYLE:= manual
  17. TARGET_CPPFLAGS+= -D_GNU_SOURCE
  18. XAKE_FLAGS+= CC="${TARGET_CC}" \
  19. OFLAGS="${TARGET_CFLAGS}" \
  20. OS="Linux" \
  21. PREFIX=/usr
  22. vpnc-install:
  23. ${CP} ${WRKINST}/* ${IDIR_VPNC}/
  24. ${CP} files/vpnc-route ${IDIR_VPNC}/etc/vpnc/
  25. ${CP} files/vpnc-script ${IDIR_VPNC}/etc/vpnc/
  26. ${CP} files/vpnc.conf ${IDIR_VPNC}/etc/vpnc/
  27. include ${TOPDIR}/mk/pkg-bottom.mk