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

SVN-Revision: 31183
This commit is contained in:
Jo-Philipp Wich 2012-04-04 11:40:08 +00:00
parent e7807dd8ca
commit 4cbbd9ab4b
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