X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/6e891afbdd5e312380a2161dfa0aae0b39fd770b..da4077f1bc0dadf4dfa7633761c53aed8ca0f2c7:/package/util-linux/Makefile?ds=inline diff --git a/package/util-linux/Makefile b/package/util-linux/Makefile index 18fb25146..e265edb14 100644 --- a/package/util-linux/Makefile +++ b/package/util-linux/Makefile @@ -12,7 +12,6 @@ PKG_NAME:=util-linux PKG_VERSION:=2.12r PKG_RELEASE:=1 -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/linux/utils/$(PKG_NAME)/ \ http://ftp.kernel.org/pub/linux/utils/$(PKG_NAME)/ \ @@ -21,6 +20,7 @@ PKG_SOURCE_URL:=ftp://ftp.kernel.org/pub/linux/utils/$(PKG_NAME)/ \ PKG_MD5SUM:=c261230b27fc0fbcc287c76884caf2d3 PKG_CAT:=zcat +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install include $(INCLUDE_DIR)/package.mk @@ -70,7 +70,7 @@ define Package/Template rm -f $(PKG_BUILD_DIR)/.built; \ $(MAKE) $(PKG_BUILD_DIR)/.built; \ fi - install -d -m0755 $(2) + $(INSTALL_DIR) $(2) $(CP) $(PKG_INSTALL_DIR)/$(1) $(2)/ endef