summaryrefslogtreecommitdiff
path: root/multilib-testing
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-26 01:16:44 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-26 01:16:44 -0300
commit92155342158c2dbcc0c840325d63d1742d3583ec (patch)
treef0900a2867d221c79742e7a06ca4244a21abf8f3 /multilib-testing
parent78fa3fcb824603de4b7bc558a423edca6bc18836 (diff)
parente4a5730eb358cb0d78bc022204ddccac068c2bf2 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/astyle/PKGBUILD community/gavl/PKGBUILD community/lmms/PKGBUILD community/portaudio/PKGBUILD community/redshift/PKGBUILD extra/gnutls/PKGBUILD extra/libglade/PKGBUILD extra/libgnome/PKGBUILD extra/orbit2/PKGBUILD extra/pypgsql/PKGBUILD extra/vlc/PKGBUILD extra/xorg-appres/PKGBUILD extra/xorg-xdriinfo/PKGBUILD extra/xorg-xfs/PKGBUILD extra/xorg-xgamma/PKGBUILD extra/xorg-xhost/PKGBUILD extra/xorg-xkbevd/PKGBUILD extra/xorg-xkbutils/PKGBUILD extra/xorg-xload/PKGBUILD extra/xorg-xlogo/PKGBUILD extra/xorg-xlsatoms/PKGBUILD extra/xorg-xlsclients/PKGBUILD extra/xorg-xmag/PKGBUILD extra/xorg-xmodmap/PKGBUILD extra/xorg-xrdb/PKGBUILD extra/xorg-xrefresh/PKGBUILD extra/xorg-xsetroot/PKGBUILD extra/xorg-xvidtune/PKGBUILD extra/xorg-xwd/PKGBUILD extra/xorg-xwud/PKGBUILD extra/zile/PKGBUILD multilib/wine/PKGBUILD testing/xf86-video-intel/PKGBUILD
Diffstat (limited to 'multilib-testing')
-rw-r--r--multilib-testing/lib32-util-linux/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/multilib-testing/lib32-util-linux/PKGBUILD b/multilib-testing/lib32-util-linux/PKGBUILD
new file mode 100644
index 000000000..aeb1cbc80
--- /dev/null
+++ b/multilib-testing/lib32-util-linux/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 66417 2012-02-24 16:16:14Z dreisner $
+# Maintainer: judd <jvinet@zeroflux.org>
+
+_pkgbasename=util-linux
+pkgname=lib32-$_pkgbasename
+pkgver=2.21
+pkgrel=1
+pkgdesc="Miscellaneous system utilities for Linux (32-bit)"
+url='http://www.kernel.org/pub/linux/utils/util-linux/'
+arch=('x86_64')
+depends=('lib32-glibc' "$_pkgbasename")
+makedepends=('gcc-multilib')
+provides=('lib32-util-linux-ng')
+conflicts=('lib32-util-linux-ng')
+replaces=('lib32-util-linux-ng')
+license=('GPL2')
+options=('!libtool' '!emptydirs')
+source=("ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.21/util-linux-$pkgver.tar.xz")
+md5sums=('208aa058f4117759d2939d1be7d662fc')
+
+shopt -s extglob
+
+build() {
+ cd "$srcdir/$_pkgbasename-$pkgver"
+
+ export CC="gcc -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ ./autogen.sh
+ ./configure --without-ncurses --libdir=/usr/lib32
+
+ for lib in lib{mount,blkid,uuid}; do
+ make -C "$lib"
+ done
+}
+
+package() {
+ cd "$srcdir/$_pkgbasename-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ # remove everything but libs
+ rm -rf "$pkgdir"/!(usr) "$pkgdir"/usr/!(lib32)
+}