diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-12-13 09:37:29 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-12-13 09:37:29 +0000 |
commit | f4af9e6ffa08d46109f621030f33466073298245 (patch) | |
tree | 62eb4934809afd3c9b7b9787d26fd1a78a6cbfb3 /openwrt/package/vpnc/Makefile | |
parent | 4ed1388b2c8c5abef5f656b1d31e15e577179009 (diff) |
Added vpnc, a cicso3000 vpn concentrator client
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2647 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/vpnc/Makefile')
-rwxr-xr-x | openwrt/package/vpnc/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/openwrt/package/vpnc/Makefile b/openwrt/package/vpnc/Makefile new file mode 100755 index 0000000000..6aec933e71 --- /dev/null +++ b/openwrt/package/vpnc/Makefile @@ -0,0 +1,31 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=vpnc +PKG_VERSION:=0.3.3 +PKG_RELEASE:=1 + +PKG_MD5SUM:=e7518cff21326fe7eb9795b60c25ae6a +PKG_SOURCE_URL:=http://www.unix-ag.uni-kl.de/~massar/vpnc/ + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_CAT:=zcat + +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install + +include $(TOPDIR)/package/rules.mk + +$(eval $(call PKG_template,VPNC,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + +$(PKG_BUILD_DIR)/.configured: + touch $@ + +$(PKG_BUILD_DIR)/.built: + $(MAKE) STAGING_DIR=$(STAGING_DIR) CC=$(TARGET_CC) DESTDIR=$(PKG_INSTALL_DIR) -C $(PKG_BUILD_DIR) all install + touch $@ + +$(IPKG_VPNC): + mkdir -p $(IDIR_VPNC) + cp -fpR $(PKG_INSTALL_DIR)/* $(IDIR_VPNC)/ + $(RSTRIP) $(IDIR_VPNC) + $(IPKG_BUILD) $(IDIR_VPNC) $(PACKAGE_DIR) |