From 9c28282cc43ed9f12cab806a2d2f5b2c8f9121c9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 31 Oct 2008 02:08:36 +0100 Subject: [PATCH] e2fsprogs: install headers, fix pkgconfig files, misc stuff. --HG-- extra : convert_revision : 853491bcabaf5050e04271b8090395f23e00fcb3 --- templates/e2fsprogs.tmpl | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/templates/e2fsprogs.tmpl b/templates/e2fsprogs.tmpl index a41aca1c0c..94d8ebd02c 100644 --- a/templates/e2fsprogs.tmpl +++ b/templates/e2fsprogs.tmpl @@ -4,16 +4,19 @@ version=1.41.3 distfiles=" http://prdownloads.sourceforge.net/e2fsprogs/$pkgname-$version.tar.gz" build_style=gnu_configure -configure_args="--enable-compression --enable-htree --enable-elf-shlibs - --enable-fsck --enable-e2initrd-helper --disable-rpath --bindir=/bin - --sbindir=/sbin --libdir=/lib" +configure_args="--enable-htree --enable-elf-shlibs --enable-fsck + --enable-e2initrd-helper --disable-rpath --bindir=/bin --sbindir=/sbin + --libdir=/usr/lib --includedir=/usr/include" +make_install_target="install-libs install" make_install_args=" - root_bindir=$XBPS_DESTDIR/$pkgname-$version/bin - bindir=$XBPS_DESTDIR/$pkgname-$version/bin - root_sbindir=$XBPS_DESTDIR/$pkgname-$version/sbin - sbindir=$XBPS_DESTDIR/$pkgname-$version/sbin - root_libdir=$XBPS_DESTDIR/$pkgname-$version/lib - libdir=$XBPS_DESTDIR/$pkgname-$version/lib" +root_bindir=$XBPS_DESTDIR/$pkgname-$version/bin +bindir=$XBPS_DESTDIR/$pkgname-$version/bin +root_sbindir=$XBPS_DESTDIR/$pkgname-$version/sbin +sbindir=$XBPS_DESTDIR/$pkgname-$version/sbin +root_libdir=$XBPS_DESTDIR/$pkgname-$version/usr/lib +libdir=$XBPS_DESTDIR/$pkgname-$version/usr/lib +root_includedir=$XBPS_DESTDIR/$pkgname-$version/usr/include +includedir=$XBPS_DESTDIR/$pkgname-$version/usr/include" short_desc="Ext2/3/4 Filesystem Utilities" maintainer="Juan RP " checksum=ce77edae680d090cb8275eca9be282bdbc5fbef028d7bf6f772fb4f04b578d7a @@ -22,3 +25,12 @@ long_desc=" It also supports the ext3 filesystem with journaling support." run_depends="glibc-2.8" + +post_install() +{ + local destdir=$XBPS_DESTDIR/$pkgname-$version + + # Move libraries to /lib. + install -d -m 644 ${destdir}/lib + mv ${destdir}/usr/lib/lib* ${destdir}/lib +}