wok-next diff eudev/receipt @ rev 20436
Update packages listed in the LFS book.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 21 19:48:17 2018 +0200 (2018-02-21) |
parents | 4a43dd1d951b |
children | 0e7893ac206d |
line diff
1.1 --- a/eudev/receipt Sat Nov 18 15:47:29 2017 +0200 1.2 +++ b/eudev/receipt Wed Feb 21 19:48:17 2018 +0200 1.3 @@ -8,7 +8,6 @@ 1.4 LICENSE="GPL2" 1.5 WEB_SITE="http://dev.gentoo.org/~blueness/eudev/" 1.6 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/eudev.html" 1.7 -PROVIDE="udev" 1.8 1.9 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.10 WGET_URL="${WEB_SITE}$TARBALL" 1.11 @@ -17,9 +16,7 @@ 1.12 BUILD_DEPENDS="gobject-introspection-dev util-linux-blkid-dev gperf kmod-dev" 1.13 SPLIT="eudev-dev" 1.14 1.15 -# Rules to configure and make the package. 1.16 -compile_rules() 1.17 -{ 1.18 +compile_rules() { 1.19 sed -r -i 's|/usr(/bin/test)|\1|' test/udev-test.pl 1.20 sed -i '/keyboard_lookup_key/d' src/udev/udev-builtin-keyboard.c 1.21 cat > config.cache <<"EOF" 1.22 @@ -58,14 +55,13 @@ 1.23 # in /lib/udev/rules.d. 1.24 } 1.25 1.26 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 -genpkg_rules() 1.28 -{ 1.29 +genpkg_rules() { 1.30 case $PACKAGE in 1.31 eudev) 1.32 copy @std 1.33 DEPENDS="kmod liblzma util-linux-blkid util-linux-uuid zlib dbus" 1.34 PROVIDE="udev" 1.35 + TAGS="LFS" 1.36 ;; 1.37 eudev-dev) 1.38 copy @dev