2014-02-17 02:38:02 +11:00
|
|
|
# Description: Userspace device management daemon
|
2017-09-08 19:58:45 +10:00
|
|
|
# URL: https://wiki.gentoo.org/wiki/Project:Eudev
|
2014-02-17 02:38:02 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2019-08-27 21:48:19 +10:00
|
|
|
# Depends on: eudev kmod-32
|
2014-02-17 02:38:02 +11:00
|
|
|
|
|
|
|
name=eudev-32
|
2021-02-16 20:05:50 +11:00
|
|
|
version=3.2.10
|
2014-02-17 02:38:02 +11:00
|
|
|
release=1
|
2017-09-08 19:58:45 +10:00
|
|
|
source=(https://dev.gentoo.org/~blueness/eudev/eudev-$version.tar.gz)
|
2014-02-17 02:38:02 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd eudev-$version
|
|
|
|
|
2015-05-05 22:43:03 +10:00
|
|
|
# needed for static linking, e.g. dmsetup.static
|
2014-02-17 02:38:02 +11:00
|
|
|
sed -i '/^Libs:/s/-ludev/-ludev -lrt/' src/libudev/libudev.pc.in
|
2015-05-05 22:43:03 +10:00
|
|
|
|
2014-02-17 02:38:02 +11:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--libdir=/usr/lib32 \
|
2014-08-12 20:54:22 +10:00
|
|
|
--sbindir=/sbin --bindir=/sbin \
|
2014-02-17 02:38:02 +11:00
|
|
|
--sysconfdir=/etc \
|
2014-08-12 20:54:22 +10:00
|
|
|
--with-rootprefix= \
|
|
|
|
--with-rootlibdir=/usr/lib32 \
|
|
|
|
--libexecdir=/usr/lib32 \
|
2014-02-17 02:38:02 +11:00
|
|
|
--disable-introspection \
|
|
|
|
--disable-manpages \
|
2015-05-05 22:43:03 +10:00
|
|
|
--enable-split-usr
|
2014-02-17 02:38:02 +11:00
|
|
|
|
2014-06-15 14:18:34 -05:00
|
|
|
make CFLAGS="$CFLAGS -D_GNU_SOURCE"
|
2014-02-17 02:38:02 +11:00
|
|
|
make install DESTDIR=$PKG
|
|
|
|
|
2015-06-25 19:19:33 +10:00
|
|
|
rm -r $PKG/{etc,sbin} $PKG/usr/{include,lib32/udev,share}
|
2014-02-17 02:38:02 +11:00
|
|
|
}
|