Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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:= 1
  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,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIG_STYLE:= manual
  17. XAKE_FLAGS+= CC="${TARGET_CC}" \
  18. OFLAGS="${TARGET_CFLAGS}" \
  19. OS="Linux" \
  20. PREFIX=/usr
  21. post-install:
  22. ${CP} ${WRKINST}/* ${IDIR_VPNC}/
  23. ${CP} files/vpnc-route ${IDIR_VPNC}/etc/vpnc/
  24. ${CP} files/vpnc-script ${IDIR_VPNC}/etc/vpnc/
  25. ${CP} files/vpnc.conf ${IDIR_VPNC}/etc/vpnc/
  26. include ${TOPDIR}/mk/pkg-bottom.mk