blob: 7cd65997fce51ae5e79897f47c73268c54bef49f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
# Maintainer : Vincent Grande <shoober420@gmail.com>
# Contributor : Eric Vidal <eric@obarun.org>
# Contributor : Jean-Michel T.Dydak <jean-michel@obarun.org>
pkgname=lib32-eudev
pkgver=3.2.10
pkgrel=1
udevver=243
pkgdesc="The userspace dev tools (udev) forked by Gentoo (32-bit)"
arch=('x86_64')
url="https://dev.gentoo.org/~blueness/eudev"
license=('GPL')
source=("${url}/eudev-${pkgver}.tar.gz")
sha512sums=('SKIP')
depends=(
'lib32-glib2'
'lib32-glibc')
makedepends=(
'lib32-gcc-libs'
'gcc-multilib'
'gobject-introspection'
'gperf'
'gtk-doc'
'lib32-kmod')
provides=(
"lib32-udev=${udevver}" 'libudev.so' 'lib32-libeudev')
conflicts=(
'lib32-libeudev'
'lib32-eudev-git')
options=(!makeflags !libtool)
build() {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
cd "${srcdir}/eudev-${pkgver}"
if [ -f "Makefile" ];then
msg2 "Cleaning up..."
make clean
fi
./configure \
--prefix=/usr \
--with-rootprefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib32 \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--enable-introspection \
--disable-manpages
make
}
package() {
cd "${srcdir}/eudev-${pkgver}"
make DESTDIR="${pkgdir}" -C src/libudev install
rm -rf ${pkgdir}/usr/include
}
|