mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-30 23:13:55 +02:00
82daa5e9c0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3112 3c298f89-4303-0410-b956-a3cf2f4a3e73
41 lines
896 B
Makefile
41 lines
896 B
Makefile
# $Id$
|
|
|
|
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) -C $(PKG_BUILD_DIR) \
|
|
CC=$(TARGET_CC) \
|
|
OFLAGS="$(TARGET_CFLAGS)" \
|
|
OS="Linux" \
|
|
STAGING_DIR=$(STAGING_DIR) \
|
|
DESTDIR=$(PKG_INSTALL_DIR) \
|
|
PREFIX=/usr \
|
|
all install
|
|
touch $@
|
|
|
|
$(IPKG_VPNC):
|
|
install -d -m0755 $(IDIR_VPNC)
|
|
$(CP) $(PKG_INSTALL_DIR)/* $(IDIR_VPNC)/
|
|
$(RSTRIP) $(IDIR_VPNC)
|
|
$(IPKG_BUILD) $(IDIR_VPNC) $(PACKAGE_DIR)
|