wok-next view sysklogd/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 2f73953f6cee
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="sysklogd"
4 VERSION="1.5.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Kernel and system logging daemons"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.infodrom.org/projects/sysklogd/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/sysklogd.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}download/$TARBALL"
15 compile_rules() {
16 sed -i '/Error loading kernel symbols/{n;n;d}' ksym_mod.c
17 sed -i 's/union wait/int/' syslogd.c
18 mkdir -p $install/sbin $install/usr/share/man/man5 $install/usr/share/man/man8
20 make && make prefix=$install BINDIR=$install/sbin install
22 mkdir -p $install/etc
23 cp $stuff/syslog.conf $install/etc
24 }
26 genpkg_rules() {
27 copy @std
28 TAGS="LFS"
29 }