1
0

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.4.0
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 604807e7dd90fce00a4e2344ee29c76d
  8. PKG_DESCR:= client for cisco3000 VPN Concentrator.
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= libgcrypt libgpg-error kmod-tun
  11. PKG_URL:= http://www.unix-ag.uni-kl.de/~massar/vpnc/
  12. PKG_SITES:= http://www.unix-ag.uni-kl.de/~massar/vpnc/
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,VPNC,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. BUILD_STYLE:= auto
  16. XAKE_FLAGS+= CC="${TARGET_CC}" \
  17. OFLAGS="${TARGET_CFLAGS}" \
  18. OS="Linux" \
  19. STAGING_DIR=${STAGING_DIR} \
  20. PREFIX=/usr
  21. INSTALL_STYLE:= auto
  22. post-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