eudev: added new upstream URL
This commit is contained in:
parent
056e155996
commit
ca3a2caa9e
|
@ -1,6 +1,6 @@
|
||||||
untrusted comment: verify with /etc/ports/core.pub
|
untrusted comment: verify with /etc/ports/core.pub
|
||||||
RWRJc1FUaeVeqmF0xzauQXt8viH/w51DxUQr9eVcObmKEykI0ICCk4LMysaGWrG37hOUtlulE68QLD2X/um86uoRCs/k+t34JAQ=
|
RWRJc1FUaeVeqk3VB2bppWJDME8YiL/Ga6JP/+QpLR3T63rZIfTSIbJEJxmLwKJ2A+dZZ+6EKz4eISQrx6wPCQ1X1QqyEPuFegc=
|
||||||
SHA256 (Pkgfile) = ed5497eab8830ee52c01bb3312da7a89144ce9991a4691c9cbb369ab90395fbc
|
SHA256 (Pkgfile) = 35ecf7645f9c0100bba3e0d2608113091205b4bd24ea9b82d6d2ef646e0d8644
|
||||||
SHA256 (.footprint) = 0462d65c7426a48874d18c1aeb96e1a6db4a93aea3532d15239fc2ac412941d0
|
SHA256 (.footprint) = 0462d65c7426a48874d18c1aeb96e1a6db4a93aea3532d15239fc2ac412941d0
|
||||||
SHA256 (eudev-3.2.10.tar.gz) = 87bb028d470fd1b85169349b44c55d5b733733dc2d50ddf1196e026725ead034
|
SHA256 (eudev-3.2.10.tar.gz) = 87bb028d470fd1b85169349b44c55d5b733733dc2d50ddf1196e026725ead034
|
||||||
SHA256 (81-crux.rules) = d56da7164599c7d7e7b5377a550de2023e2a1ff2f765d366d2d7cc91688edb7c
|
SHA256 (81-crux.rules) = d56da7164599c7d7e7b5377a550de2023e2a1ff2f765d366d2d7cc91688edb7c
|
||||||
|
|
|
@ -1,43 +1,43 @@
|
||||||
# Description: Userspace device management daemon
|
# Description: Userspace device management daemon
|
||||||
# URL: https://wiki.gentoo.org/wiki/Project:Eudev
|
# URL: https://github.com/eudev-project/eudev
|
||||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||||
# Depends on: kmod
|
# Depends on: kmod
|
||||||
|
|
||||||
name=eudev
|
name=eudev
|
||||||
version=3.2.10
|
version=3.2.10
|
||||||
release=1
|
release=1
|
||||||
source=(http://dev.gentoo.org/~blueness/$name/$name-$version.tar.gz
|
source=(http://dev.gentoo.org/~blueness/$name/$name-$version.tar.gz
|
||||||
81-crux.rules start_udev)
|
81-crux.rules start_udev)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
# needed for static linking, e.g. dmsetup.static
|
# needed for static linking, e.g. dmsetup.static
|
||||||
sed -i '/^Libs:/s/-ludev/-ludev -lrt/' src/libudev/libudev.pc.in
|
sed -i '/^Libs:/s/-ludev/-ludev -lrt/' src/libudev/libudev.pc.in
|
||||||
|
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--sbindir=/sbin --bindir=/sbin \
|
--sbindir=/sbin --bindir=/sbin \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--with-rootprefix= \
|
--with-rootprefix= \
|
||||||
--with-rootlibdir=/lib \
|
--with-rootlibdir=/lib \
|
||||||
--libexecdir=/lib \
|
--libexecdir=/lib \
|
||||||
--disable-introspection \
|
--disable-introspection \
|
||||||
--disable-manpages \
|
--disable-manpages \
|
||||||
--enable-split-usr
|
--enable-split-usr
|
||||||
|
|
||||||
make CFLAGS="$CFLAGS -D_GNU_SOURCE"
|
make CFLAGS="$CFLAGS -D_GNU_SOURCE"
|
||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
make -C man install DESTDIR=$PKG
|
make -C man install DESTDIR=$PKG
|
||||||
|
|
||||||
# create binary hwdb
|
# create binary hwdb
|
||||||
LD_LIBRARY_PATH=$PKG/lib \
|
LD_LIBRARY_PATH=$PKG/lib \
|
||||||
$PKG/sbin/udevadm hwdb --update --root=$PKG
|
$PKG/sbin/udevadm hwdb --update --root=$PKG
|
||||||
|
|
||||||
# Devices
|
# Devices
|
||||||
install -d $PKG/lib/{firmware,udev/devices/{pts,shm}}
|
install -d $PKG/lib/{firmware,udev/devices/{pts,shm}}
|
||||||
install -d $PKG/{lib,sbin,run}
|
install -d $PKG/{lib,sbin,run}
|
||||||
|
|
||||||
# Add CRUX items
|
# Add CRUX items
|
||||||
install -m 0755 $SRC/start_udev $PKG/sbin
|
install -m 0755 $SRC/start_udev $PKG/sbin
|
||||||
install -m 0644 $SRC/81-crux.rules $PKG/lib/udev/rules.d
|
install -m 0644 $SRC/81-crux.rules $PKG/lib/udev/rules.d
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user