wok-next annotate sysklogd/receipt @ rev 20564

shell-detector, screenfetch: create $install tree
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 10 10:14:26 2018 +0200 (2018-04-10)
parents 2f73953f6cee
children d5aab818505e
rev   line source
al@19748 1 # SliTaz package receipt v2.
al@19581 2
al@19581 3 PACKAGE="sysklogd"
al@19581 4 VERSION="1.5.1"
al@19581 5 CATEGORY="system-tools"
al@19581 6 SHORT_DESC="Kernel and system logging daemons"
al@19581 7 MAINTAINER="al.bobylev@gmail.com"
al@19581 8 LICENSE="GPL2"
al@19581 9 WEB_SITE="http://www.infodrom.org/projects/sysklogd/"
al@20436 10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/sysklogd.html"
al@19581 11
al@19581 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19581 13 WGET_URL="${WEB_SITE}download/$TARBALL"
al@19581 14
al@20436 15 compile_rules() {
al@19581 16 sed -i '/Error loading kernel symbols/{n;n;d}' ksym_mod.c
al@19581 17 sed -i 's/union wait/int/' syslogd.c
al@19581 18 mkdir -p $install/sbin $install/usr/share/man/man5 $install/usr/share/man/man8
al@19581 19
al@19581 20 make && make prefix=$install BINDIR=$install/sbin install
al@19581 21
al@19581 22 mkdir -p $install/etc
al@19581 23 cp $stuff/syslog.conf $install/etc
al@19581 24 }
al@19581 25
al@20436 26 genpkg_rules() {
al@19748 27 copy @std
al@20436 28 TAGS="LFS"
al@19581 29 }