2014-02-17 02:38:02 +11:00
|
|
|
# Description: Userspace device management daemon
|
2021-12-20 08:56:33 +11:00
|
|
|
# URL: https://github.com/eudev-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
|
2023-10-05 20:52:42 +02:00
|
|
|
version=3.2.14
|
2014-02-17 02:38:02 +11:00
|
|
|
release=1
|
2021-12-20 08:56:33 +11:00
|
|
|
source=(https://github.com/eudev-project/eudev/releases/download/v$version/eudev-$version.tar.gz)
|
2014-02-17 02:38:02 +11:00
|
|
|
|
|
|
|
build() {
|
2023-10-05 20:52:42 +02:00
|
|
|
cd eudev-$version
|
2014-02-17 02:38:02 +11:00
|
|
|
|
2023-10-05 20:52:42 +02:00
|
|
|
# needed for static linking, e.g. dmsetup.static
|
|
|
|
sed -i '/^Libs:/s/-ludev/-ludev -lrt/' src/libudev/libudev.pc.in
|
2015-05-05 22:43:03 +10:00
|
|
|
|
2023-10-05 20:52:42 +02:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--libdir=/usr/lib32 \
|
|
|
|
--sbindir=/sbin --bindir=/sbin \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--with-rootprefix= \
|
|
|
|
--with-rootlibdir=/usr/lib32 \
|
|
|
|
--libexecdir=/usr/lib32 \
|
|
|
|
--disable-introspection \
|
|
|
|
--disable-manpages \
|
|
|
|
--enable-split-usr
|
2014-02-17 02:38:02 +11:00
|
|
|
|
2023-10-05 20:52:42 +02:00
|
|
|
make CFLAGS="$CFLAGS -D_GNU_SOURCE"
|
|
|
|
make install DESTDIR=$PKG
|
2014-02-17 02:38:02 +11:00
|
|
|
|
2023-10-05 20:52:42 +02:00
|
|
|
rm -r $PKG/{etc,sbin} $PKG/usr/{include,lib32/udev,share}
|
2014-02-17 02:38:02 +11:00
|
|
|
}
|