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 ${ADK_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
  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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,VPNC,vpnc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= manual
  18. TARGET_CPPFLAGS+= -D_GNU_SOURCE
  19. XAKE_FLAGS+= CC="${TARGET_CC}" \
  20. OFLAGS="${TARGET_CFLAGS}" \
  21. OS="Linux" \
  22. PREFIX=/usr
  23. vpnc-install:
  24. ${CP} ${WRKINST}/* ${IDIR_VPNC}/
  25. ${CP} files/vpnc-route ${IDIR_VPNC}/etc/vpnc/
  26. ${CP} files/vpnc-script ${IDIR_VPNC}/etc/vpnc/
  27. ${CP} files/vpnc.conf ${IDIR_VPNC}/etc/vpnc/
  28. include ${ADK_TOPDIR}/mk/pkg-bottom.mk