add missing config file and init script in the package
[openwrt.git] / openwrt / package / vpnc / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=vpnc
6 PKG_VERSION:=0.3.3
7 PKG_RELEASE:=1
8
9 PKG_MD5SUM:=e7518cff21326fe7eb9795b60c25ae6a
10 PKG_SOURCE_URL:=http://www.unix-ag.uni-kl.de/~massar/vpnc/
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
14 PKG_CAT:=zcat
15
16 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
17
18 include $(TOPDIR)/package/rules.mk
19
20 $(eval $(call PKG_template,VPNC,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
21
22 $(PKG_BUILD_DIR)/.configured:
23 touch $@
24
25 $(PKG_BUILD_DIR)/.built:
26 $(MAKE) -C $(PKG_BUILD_DIR) \
27 CC=$(TARGET_CC) \
28 STAGING_DIR=$(STAGING_DIR) \
29 DESTDIR=$(PKG_INSTALL_DIR) \
30 PREFIX=/usr \
31 all install
32 touch $@
33
34 $(IPKG_VPNC):
35 install -d -m0755 $(IDIR_VPNC)
36 cp -fpR $(PKG_INSTALL_DIR)/* $(IDIR_VPNC)/
37 $(RSTRIP) $(IDIR_VPNC)
38 $(IPKG_BUILD) $(IDIR_VPNC) $(PACKAGE_DIR)
This page took 0.061685 seconds and 5 git commands to generate.