mirror of https://github.com/hak5/openwrt.git
install in /usr instead of /usr/local/, add an ipkg/conffiles, add an Id tag to the Makefile
SVN-Revision: 2666lede-17.01
parent
2ccbafe84f
commit
3f774a5f9d
|
@ -1,3 +1,5 @@
|
||||||
|
# $Id$
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=vpnc
|
PKG_NAME:=vpnc
|
||||||
|
@ -21,11 +23,16 @@ $(PKG_BUILD_DIR)/.configured:
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(PKG_BUILD_DIR)/.built:
|
$(PKG_BUILD_DIR)/.built:
|
||||||
$(MAKE) STAGING_DIR=$(STAGING_DIR) CC=$(TARGET_CC) DESTDIR=$(PKG_INSTALL_DIR) -C $(PKG_BUILD_DIR) all install
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
|
CC=$(TARGET_CC) \
|
||||||
|
STAGING_DIR=$(STAGING_DIR) \
|
||||||
|
DESTDIR=$(PKG_INSTALL_DIR) \
|
||||||
|
PREFIX=/usr \
|
||||||
|
all install
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(IPKG_VPNC):
|
$(IPKG_VPNC):
|
||||||
mkdir -p $(IDIR_VPNC)
|
install -d -m0755 $(IDIR_VPNC)
|
||||||
cp -fpR $(PKG_INSTALL_DIR)/* $(IDIR_VPNC)/
|
cp -fpR $(PKG_INSTALL_DIR)/* $(IDIR_VPNC)/
|
||||||
$(RSTRIP) $(IDIR_VPNC)
|
$(RSTRIP) $(IDIR_VPNC)
|
||||||
$(IPKG_BUILD) $(IDIR_VPNC) $(PACKAGE_DIR)
|
$(IPKG_BUILD) $(IDIR_VPNC) $(PACKAGE_DIR)
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
/etc/vpnc/vpnc.conf
|
||||||
|
/etc/vpnc/vpnc-script
|
Loading…
Reference in New Issue