e2fsprogs fixes: - don't bundle libblkid shared lib in e2fsprogs, add a dependency instead - remove references to host dev files in pkgconfig files - add Build/UninstallDev

SVN-Revision: 8486
lede-17.01
Nicolas Thill 2007-08-25 15:52:31 +00:00
parent 615a81cb65
commit 68e129691f
1 changed files with 11 additions and 2 deletions

View File

@ -22,7 +22,7 @@ define Package/e2fsprogs
SECTION:=utils SECTION:=utils
CATEGORY:=Utilities CATEGORY:=Utilities
TITLE:=Ext2/3 filesystem utilities TITLE:=Ext2/3 filesystem utilities
DEPENDS:=+libuuid DEPENDS:=+libblkid +libuuid
DESCRIPTION:=\ DESCRIPTION:=\
This package contains essential ext2 filesystem utilities which consists of \\\ This package contains essential ext2 filesystem utilities which consists of \\\
e2fsck, mke2fs, debugfs, dumpe2fs, tune2fs, and most of the other core ext2 \\\ e2fsck, mke2fs, debugfs, dumpe2fs, tune2fs, and most of the other core ext2 \\\
@ -92,6 +92,15 @@ define Build/InstallDev
BUILDCC="$(HOSTCC)" \ BUILDCC="$(HOSTCC)" \
DESTDIR="$(STAGING_DIR)" \ DESTDIR="$(STAGING_DIR)" \
install-libs install-libs
$(SED) 's,-I$$$${includedir},,g' $(STAGING_DIR)/usr/lib/pkgconfig/{blkid,com_err,e2p,ext2fs,ss,uuid}.pc
$(SED) 's,-L$$$${libdir},,g' $(STAGING_DIR)/usr/lib/pkgconfig/{blkid,com_err,e2p,ext2fs,ss,uuid}.pc
endef
define Build/UninstallDev
-$(MAKE) -C $(PKG_BUILD_DIR) \
BUILDCC="$(HOSTCC)" \
DESTDIR="$(STAGING_DIR)" \
uninstall-libs
endef endef
define Package/e2fsprogs/install define Package/e2fsprogs/install
@ -101,7 +110,7 @@ define Package/e2fsprogs/install
ln -sf mke2fs $(1)/usr/sbin/mkfs.ext2 ln -sf mke2fs $(1)/usr/sbin/mkfs.ext2
ln -sf mke2fs $(1)/usr/sbin/mkfs.ext3 ln -sf mke2fs $(1)/usr/sbin/mkfs.ext3
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(foreach lib,blkid com_err e2p ext2fs,$(PKG_INSTALL_DIR)/usr/lib/lib$(lib).so.*) $(1)/usr/lib/ $(CP) $(foreach lib,com_err e2p ext2fs,$(PKG_INSTALL_DIR)/usr/lib/lib$(lib).so.*) $(1)/usr/lib/
endef endef
define Package/libuuid/install define Package/libuuid/install