mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-24 01:42:15 +08:00
37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
|
# Lib32 Packages for Chakra, part of chakra-project.org
|
||
|
#
|
||
|
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
||
|
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
|
||
|
|
||
|
pkgname=('lib32-udev')
|
||
|
pkgver=168
|
||
|
pkgrel=2
|
||
|
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' 'udev')
|
||
|
makedepends=('gcc-multilib' 'coreutils' 'util-linux' 'pciutils' 'kernel26' 'gperf' 'libxslt' 'gobject-introspection')
|
||
|
source=(http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-$pkgver.tar.bz2)
|
||
|
md5sums=('4a466078532ab5dd5c35acc3ea2ec9a1')
|
||
|
|
||
|
build() {
|
||
|
export CC="gcc -m32"
|
||
|
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
||
|
|
||
|
cd $srcdir/udev-$pkgver
|
||
|
|
||
|
./configure --libdir=/usr/lib32
|
||
|
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*
|
||
|
}
|