Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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_BUILDDEP+= libgcrypt libgpg-error
  8. PKG_MD5SUM:= 604807e7dd90fce00a4e2344ee29c76d
  9. PKG_DESCR:= client for cisco3000 VPN Concentrator.
  10. PKG_SECTION:= net
  11. PKG_DEPENDS:= libgcrypt libgpg-error kmod-tun
  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. BUILD_STYLE:= auto
  17. XAKE_FLAGS+= CC="${TARGET_CC}" \
  18. OFLAGS="${TARGET_CFLAGS}" \
  19. OS="Linux" \
  20. STAGING_DIR=${STAGING_DIR} \
  21. PREFIX=/usr
  22. INSTALL_STYLE:= auto
  23. post-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 ${TOPDIR}/mk/pkg-bottom.mk