wok-next annotate sysklogd/receipt @ rev 20322

Up TeXmacs (1.0.7.18), linux-dev (4.9.30)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 11 18:54:50 2017 +0100 (2017-11-11)
parents f7d9f142f79d
children 90a5eb560fd6
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@19581 10
al@19581 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19581 12 WGET_URL="${WEB_SITE}download/$TARBALL"
al@19581 13
al@19581 14 # Rules to configure and make the package.
al@19581 15 compile_rules()
al@19581 16 {
al@19581 17 sed -i '/Error loading kernel symbols/{n;n;d}' ksym_mod.c
al@19581 18 sed -i 's/union wait/int/' syslogd.c
al@19581 19 mkdir -p $install/sbin $install/usr/share/man/man5 $install/usr/share/man/man8
al@19581 20
al@19581 21 make && make prefix=$install BINDIR=$install/sbin install
al@19581 22
al@19581 23 mkdir -p $install/etc
al@19581 24 cp $stuff/syslog.conf $install/etc
al@19581 25 }
al@19581 26
al@19581 27 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19581 28 genpkg_rules()
al@19581 29 {
al@19748 30 copy @std
al@19581 31 }