wok-next diff sysklogd/receipt @ rev 20762
Add leanify
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 05 17:27:09 2018 +0300 (2018-06-05) |
parents | 2f73953f6cee |
children | d5aab818505e |
line diff
1.1 --- a/sysklogd/receipt Thu Jun 08 13:10:33 2017 +0300 1.2 +++ b/sysklogd/receipt Tue Jun 05 17:27:09 2018 +0300 1.3 @@ -7,13 +7,12 @@ 1.4 MAINTAINER="al.bobylev@gmail.com" 1.5 LICENSE="GPL2" 1.6 WEB_SITE="http://www.infodrom.org/projects/sysklogd/" 1.7 +LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/sysklogd.html" 1.8 1.9 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.10 WGET_URL="${WEB_SITE}download/$TARBALL" 1.11 1.12 -# Rules to configure and make the package. 1.13 -compile_rules() 1.14 -{ 1.15 +compile_rules() { 1.16 sed -i '/Error loading kernel symbols/{n;n;d}' ksym_mod.c 1.17 sed -i 's/union wait/int/' syslogd.c 1.18 mkdir -p $install/sbin $install/usr/share/man/man5 $install/usr/share/man/man8 1.19 @@ -24,8 +23,7 @@ 1.20 cp $stuff/syslog.conf $install/etc 1.21 } 1.22 1.23 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.24 -genpkg_rules() 1.25 -{ 1.26 +genpkg_rules() { 1.27 copy @std 1.28 + TAGS="LFS" 1.29 }