diff options
author | root <root@rshg054.dnsready.net> | 2012-01-30 23:15:09 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-30 23:15:09 +0000 |
commit | 902eddd7e029eda6fc1c668b31e696c6ca3edbc7 (patch) | |
tree | 7daed2a9811a9c58333dafddaa471222520022b0 /multilib-testing | |
parent | 39711f3264d3b9de2ff6392649274d6333932457 (diff) |
Mon Jan 30 23:15:08 UTC 2012
Diffstat (limited to 'multilib-testing')
-rw-r--r-- | multilib-testing/lib32-udev/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/multilib-testing/lib32-udev/PKGBUILD b/multilib-testing/lib32-udev/PKGBUILD new file mode 100644 index 000000000..6b91c7ba3 --- /dev/null +++ b/multilib-testing/lib32-udev/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 62945 2012-01-29 12:24:25Z lcarlier $ +# Maintainer: Aaron Griffin <aaron@archlinux.org> +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +# Maintainer: Thomas Bächler <thomas@archlinux.org> + +pkgname=('lib32-udev') +pkgver=180 +pkgrel=1 +arch=('x86_64') +pkgdesc="The userspace dev tools (udev) (32-bit)" +url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html" +license=('GPL') +options=(!makeflags !libtool) +depends=('lib32-glibc' 'lib32-glib2' 'lib32-acl' 'lib32-libusb-compat' 'lib32-kmod' 'lib32-util-linux' 'udev') +makedepends=('gcc-multilib' 'gperf') +source=(ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-$pkgver.tar.xz) +md5sums=('1cf124ab5a124ea35d4748ea414926ec') + +build() { + export CC="gcc -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cd $srcdir/udev-$pkgver + + ./configure --libdir=/usr/lib32 --disable-introspection + make +} + +package() { + + cd $srcdir/udev-$pkgver + + make DESTDIR=${pkgdir} install + rm -rf ${pkgdir}/usr/{etc,include,lib,libexec,sbin,share} + rm -rf ${pkgdir}/usr/lib32/girepository* +} |