blob: fd28314b8fe815c4bd3d63b150812331d3e2e2c9 (
plain)
1 # Description: Userspace device management daemon
2 # URL: https://github.com/eudev-project/eudev
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: eudev kmod-32
5
6 name=eudev-32
7 version=3.2.11
8 release=1
9 source=(https://github.com/eudev-project/eudev/releases/download/v$version/eudev-$version.tar.gz)
10
11 build() {
12 cd eudev-$version
13
14 # needed for static linking, e.g. dmsetup.static
15 sed -i '/^Libs:/s/-ludev/-ludev -lrt/' src/libudev/libudev.pc.in
16
17 ./configure --prefix=/usr \
18 --libdir=/usr/lib32 \
19 --sbindir=/sbin --bindir=/sbin \
20 --sysconfdir=/etc \
21 --with-rootprefix= \
22 --with-rootlibdir=/usr/lib32 \
23 --libexecdir=/usr/lib32 \
24 --disable-introspection \
25 --disable-manpages \
26 --enable-split-usr
27
28 make CFLAGS="$CFLAGS -D_GNU_SOURCE"
29 make install DESTDIR=$PKG
30
31 rm -r $PKG/{etc,sbin} $PKG/usr/{include,lib32/udev,share}
32 }
|