e2fsprogs-libs: move shlibs to /usr/lib.

This commit is contained in:
Juan RP 2012-01-30 17:52:11 +01:00
parent c571a0a194
commit 1816f2a965
2 changed files with 7 additions and 10 deletions

View file

@ -5,11 +5,8 @@ long_desc="${long_desc}
This package contains the shared libraries." This package contains the shared libraries."
revision=1 revision=2
do_install() do_install() {
{ vmove "usr/lib/*.so*" usr/lib
mkdir -p ${DESTDIR}/lib ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/lib/lib*.so.* ${DESTDIR}/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
} }

View file

@ -6,8 +6,9 @@ distfiles="$SOURCEFORGE_SITE/e2fsprogs/$pkgname-$version.tar.gz"
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-htree --enable-elf-shlibs --disable-fsck configure_args="--enable-htree --enable-elf-shlibs --disable-fsck
--enable-e2initrd-helper --disable-rpath --with-root-prefix= --enable-e2initrd-helper --disable-rpath --with-root-prefix=
-disable-uuidd --disable-libuuid --disable-libblkid --disable-uuidd --disable-libuuid --disable-libblkid
--enable-symlink-build --enable-symlink-install" --enable-symlink-build --enable-symlink-install
--libdir=/usr/lib --libexecdir=/usr/lib"
make_install_args="install-libs" make_install_args="install-libs"
short_desc="Ext2/3/4 Filesystem Utilities" short_desc="Ext2/3/4 Filesystem Utilities"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
@ -25,8 +26,7 @@ Add_dependency build libuuid-devel
Add_dependency build libblkid-devel Add_dependency build libblkid-devel
Add_dependency build pkg-config Add_dependency build pkg-config
post_install() post_install() {
{
# Remove stuff belonging to libblkid or libuuid pkgs. # Remove stuff belonging to libblkid or libuuid pkgs.
find ${DESTDIR} -name \*blkid\* -o -name \*findfs\* \ find ${DESTDIR} -name \*blkid\* -o -name \*findfs\* \
-name \*uuidd\* -o -name \*uuidgen\* | \ -name \*uuidd\* -o -name \*uuidgen\* | \