X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f4af9e6ffa08d46109f621030f33466073298245..0c86647fe03297fbfa494533ea1fce336bd4bb74:/openwrt/package/vpnc/Makefile diff --git a/openwrt/package/vpnc/Makefile b/openwrt/package/vpnc/Makefile old mode 100755 new mode 100644 index 6aec933e7..eb21240c0 --- 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,18 @@ $(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) \ + OFLAGS="$(TARGET_CFLAGS)" \ + OS="Linux" \ + STAGING_DIR=$(STAGING_DIR) \ + DESTDIR=$(PKG_INSTALL_DIR) \ + PREFIX=/usr \ + all install touch $@ $(IPKG_VPNC): - mkdir -p $(IDIR_VPNC) - cp -fpR $(PKG_INSTALL_DIR)/* $(IDIR_VPNC)/ + install -d -m0755 $(IDIR_VPNC) + $(CP) $(PKG_INSTALL_DIR)/* $(IDIR_VPNC)/ $(RSTRIP) $(IDIR_VPNC) $(IPKG_BUILD) $(IDIR_VPNC) $(PACKAGE_DIR)