summaryrefslogtreecommitdiff
path: root/package/vpnc/Makefile
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/vpnc/Makefile
Initial import
Diffstat (limited to 'package/vpnc/Makefile')
-rw-r--r--package/vpnc/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/package/vpnc/Makefile b/package/vpnc/Makefile
new file mode 100644
index 000000000..8936a9fe2
--- /dev/null
+++ b/package/vpnc/Makefile
@@ -0,0 +1,36 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= vpnc
+PKG_VERSION:= 0.4.0
+PKG_RELEASE:= 2
+PKG_MD5SUM:= 604807e7dd90fce00a4e2344ee29c76d
+
+MASTER_SITES:= http://www.unix-ag.uni-kl.de/~massar/vpnc/
+
+PKG_DEPENDS:= libgcrypt libgpg-error kmod-tun
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,VPNC,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+BUILD_STYLE:= auto
+XAKE_FLAGS+= CC="${TARGET_CC}" \
+ OFLAGS="${TARGET_CFLAGS}" \
+ OS="Linux" \
+ STAGING_DIR=${STAGING_DIR} \
+ PREFIX=/usr
+INSTALL_STYLE:= auto
+
+post-install:
+ echo 'Depends: ${PKG_DEPENDS}' >>${IDIR_VPNC}/CONTROL/control
+ ${CP} ${WRKINST}/* ${IDIR_VPNC}/
+ ${CP} files/vpnc-route ${IDIR_VPNC}/etc/vpnc/
+ ${CP} files/vpnc-script ${IDIR_VPNC}/etc/vpnc/
+ ${CP} files/vpnc.conf ${IDIR_VPNC}/etc/vpnc/
+
+include ${TOPDIR}/mk/pkg-bottom.mk