[package] util-linux: prevent packaging libtool placeholder scripts (#11224)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31183 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Jo-Philipp Wich 2012-04-04 11:40:08 +00:00
parent 258ae14fcc
commit 3a3d331976
1 changed files with 6 additions and 4 deletions

View File

@ -17,6 +17,7 @@ PKG_MD5SUM:=fcd18041c5390178b1aadc2fd298bee8
PKG_BUILD_PARALLEL:=1
PKG_BUILD_DEPENDS=e2fsprogs libncurses
PKG_FIXUP:=autoreconf
include $(INCLUDE_DIR)/package.mk
@ -157,12 +158,12 @@ endef
define Package/cfdisk/install
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/fdisk/cfdisk $(1)/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/fdisk/.libs/cfdisk $(1)/sbin/
endef
define Package/fdisk/install
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/fdisk/fdisk $(1)/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/fdisk/.libs/fdisk $(1)/sbin/
endef
define Package/sfdisk/install
@ -187,13 +188,14 @@ endef
define Package/swap-utils/install
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/disk-utils/mkswap $(PKG_BUILD_DIR)/mount/swapon $(1)/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/disk-utils/.libs/mkswap $(1)/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mount/.libs/swapon $(1)/sbin/
ln -sf swapon $(1)/sbin/swapoff
endef
define Package/mount-utils/install
$(INSTALL_DIR) $(1)/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mount/{u,}mount $(1)/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/mount/.libs/{u,}mount $(1)/bin
endef
define Package/flock/install