util-linux: prevent packaging libtool placeholder scripts (#11224)
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 4 Apr 2012 11:40:08 +0000 (11:40 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 4 Apr 2012 11:40:08 +0000 (11:40 +0000)
SVN-Revision: 31183

package/util-linux/Makefile

index 1804979bfa6e6882e2c187d739267dd023fef761..e72342a64c3d057a1845198082284761df0cc6f6 100644 (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