33 lines
869 B
Plaintext
33 lines
869 B
Plaintext
# Description: Userspace device management daemon
|
|
# URL: https://github.com/eudev-project/eudev
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: eudev kmod-32
|
|
|
|
name=eudev-32
|
|
version=3.2.14
|
|
release=1
|
|
source=(https://github.com/eudev-project/eudev/releases/download/v$version/eudev-$version.tar.gz)
|
|
|
|
build() {
|
|
cd eudev-$version
|
|
|
|
# needed for static linking, e.g. dmsetup.static
|
|
sed -i '/^Libs:/s/-ludev/-ludev -lrt/' src/libudev/libudev.pc.in
|
|
|
|
./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
|
|
|
|
make CFLAGS="$CFLAGS -D_GNU_SOURCE"
|
|
make install DESTDIR=$PKG
|
|
|
|
rm -r $PKG/{etc,sbin} $PKG/usr/{include,lib32/udev,share}
|
|
}
|