diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /multilib/lib32-e2fsprogs |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'multilib/lib32-e2fsprogs')
-rw-r--r-- | multilib/lib32-e2fsprogs/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/multilib/lib32-e2fsprogs/PKGBUILD b/multilib/lib32-e2fsprogs/PKGBUILD new file mode 100644 index 000000000..ca7e2eb25 --- /dev/null +++ b/multilib/lib32-e2fsprogs/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Ionut Biru <ibiru@archlinux.org> +# Contributor: mightyjaym <jm.ambrosino@free.fr> +# Contributor: Mikko Seppälä <t-r-a-y@mbnet.fi> + +_pkgbasename=e2fsprogs +pkgname=lib32-e2fsprogs +pkgver=1.41.14 +pkgrel=2 +pkgdesc="Ext2 filesystem libraries (32-bit)" +arch=(x86_64) +license=('GPL' 'LGPL' 'MIT') +url="http://e2fsprogs.sourceforge.net" +depends=('lib32-util-linux' $_pkgbasename) +makedepends=('bc' 'gcc-multilib') +source=("http://downloads.sourceforge.net/sourceforge/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz") +sha1sums=('24f9364fa3d4c0d7d00cb627b819d0e51055d6c5') + + +build() { + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cd "${srcdir}/${_pkgbasename}-${pkgver}" + ./configure --prefix=/usr --libdir=/usr/lib32 --with-root-prefix="" --enable-elf-shlibs \ + --disable-{debugfs,imager,resizer,fsck,uuidd,libuuid,libblkid} + make +} + +package() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + make DESTDIR="${pkgdir}" install-libs + + rm -rf "${pkgdir}"/usr/{bin,include,share} + mkdir -p "$pkgdir/usr/share/licenses" + ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname" +} |