eudev: added new upstream URL

This commit is contained in:
Tim Biermann 2021-11-07 13:44:01 +01:00
parent 056e155996
commit ca3a2caa9e
2 changed files with 30 additions and 30 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/core.pub
RWRJc1FUaeVeqmF0xzauQXt8viH/w51DxUQr9eVcObmKEykI0ICCk4LMysaGWrG37hOUtlulE68QLD2X/um86uoRCs/k+t34JAQ=
SHA256 (Pkgfile) = ed5497eab8830ee52c01bb3312da7a89144ce9991a4691c9cbb369ab90395fbc
RWRJc1FUaeVeqk3VB2bppWJDME8YiL/Ga6JP/+QpLR3T63rZIfTSIbJEJxmLwKJ2A+dZZ+6EKz4eISQrx6wPCQ1X1QqyEPuFegc=
SHA256 (Pkgfile) = 35ecf7645f9c0100bba3e0d2608113091205b4bd24ea9b82d6d2ef646e0d8644
SHA256 (.footprint) = 0462d65c7426a48874d18c1aeb96e1a6db4a93aea3532d15239fc2ac412941d0
SHA256 (eudev-3.2.10.tar.gz) = 87bb028d470fd1b85169349b44c55d5b733733dc2d50ddf1196e026725ead034
SHA256 (81-crux.rules) = d56da7164599c7d7e7b5377a550de2023e2a1ff2f765d366d2d7cc91688edb7c

View File

@ -1,43 +1,43 @@
# Description: Userspace device management daemon
# URL: https://wiki.gentoo.org/wiki/Project:Eudev
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: kmod
# URL: https://github.com/eudev-project/eudev
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: kmod
name=eudev
version=3.2.10
release=1
source=(http://dev.gentoo.org/~blueness/$name/$name-$version.tar.gz
81-crux.rules start_udev)
81-crux.rules start_udev)
build() {
cd $name-$version
cd $name-$version
# needed for static linking, e.g. dmsetup.static
sed -i '/^Libs:/s/-ludev/-ludev -lrt/' src/libudev/libudev.pc.in
# needed for static linking, e.g. dmsetup.static
sed -i '/^Libs:/s/-ludev/-ludev -lrt/' src/libudev/libudev.pc.in
./configure --prefix=/usr \
--sbindir=/sbin --bindir=/sbin \
--sysconfdir=/etc \
--with-rootprefix= \
--with-rootlibdir=/lib \
--libexecdir=/lib \
--disable-introspection \
--disable-manpages \
--enable-split-usr
./configure --prefix=/usr \
--sbindir=/sbin --bindir=/sbin \
--sysconfdir=/etc \
--with-rootprefix= \
--with-rootlibdir=/lib \
--libexecdir=/lib \
--disable-introspection \
--disable-manpages \
--enable-split-usr
make CFLAGS="$CFLAGS -D_GNU_SOURCE"
make install DESTDIR=$PKG
make -C man install DESTDIR=$PKG
make CFLAGS="$CFLAGS -D_GNU_SOURCE"
make install DESTDIR=$PKG
make -C man install DESTDIR=$PKG
# create binary hwdb
LD_LIBRARY_PATH=$PKG/lib \
$PKG/sbin/udevadm hwdb --update --root=$PKG
# create binary hwdb
LD_LIBRARY_PATH=$PKG/lib \
$PKG/sbin/udevadm hwdb --update --root=$PKG
# Devices
install -d $PKG/lib/{firmware,udev/devices/{pts,shm}}
install -d $PKG/{lib,sbin,run}
# Devices
install -d $PKG/lib/{firmware,udev/devices/{pts,shm}}
install -d $PKG/{lib,sbin,run}
# Add CRUX items
install -m 0755 $SRC/start_udev $PKG/sbin
install -m 0644 $SRC/81-crux.rules $PKG/lib/udev/rules.d
# Add CRUX items
install -m 0755 $SRC/start_udev $PKG/sbin
install -m 0644 $SRC/81-crux.rules $PKG/lib/udev/rules.d
}