From b4be80dea75f12a0385c3abcb6d1223dde792419 Mon Sep 17 00:00:00 2001 From: nico Date: Wed, 14 Dec 2005 00:16:01 +0000 Subject: install in /usr instead of /usr/local/, add an ipkg/conffiles, add an Id tag to the Makefile git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2666 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/vpnc/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) mode change 100755 => 100644 openwrt/package/vpnc/Makefile (limited to 'openwrt/package/vpnc/Makefile') diff --git a/openwrt/package/vpnc/Makefile b/openwrt/package/vpnc/Makefile old mode 100755 new mode 100644 index 6aec933e7..7513290eb --- a/openwrt/package/vpnc/Makefile +++ b/openwrt/package/vpnc/Makefile @@ -1,3 +1,5 @@ +# $Id$ + include $(TOPDIR)/rules.mk PKG_NAME:=vpnc @@ -21,11 +23,16 @@ $(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 + $(MAKE) -C $(PKG_BUILD_DIR) \ + CC=$(TARGET_CC) \ + STAGING_DIR=$(STAGING_DIR) \ + DESTDIR=$(PKG_INSTALL_DIR) \ + PREFIX=/usr \ + all install touch $@ $(IPKG_VPNC): - mkdir -p $(IDIR_VPNC) + install -d -m0755 $(IDIR_VPNC) cp -fpR $(PKG_INSTALL_DIR)/* $(IDIR_VPNC)/ $(RSTRIP) $(IDIR_VPNC) $(IPKG_BUILD) $(IDIR_VPNC) $(PACKAGE_DIR) -- cgit v1.2.3