wok-next diff sysklogd/receipt @ rev 19634
Up Xorg (first chunk)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Feb 10 01:19:30 2017 +0200 (2017-02-10) |
parents | |
children | 2f73953f6cee |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/sysklogd/receipt Fri Feb 10 01:19:30 2017 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="sysklogd" 1.7 +VERSION="1.5.1" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Kernel and system logging daemons" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="http://www.infodrom.org/projects/sysklogd/" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="${WEB_SITE}download/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + sed -i '/Error loading kernel symbols/{n;n;d}' ksym_mod.c 1.21 + sed -i 's/union wait/int/' syslogd.c 1.22 + mkdir -p $install/sbin $install/usr/share/man/man5 $install/usr/share/man/man8 1.23 + 1.24 + make && make prefix=$install BINDIR=$install/sbin install 1.25 + 1.26 + mkdir -p $install/etc 1.27 + cp $stuff/syslog.conf $install/etc 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + cook_copy_folders sbin etc 1.34 +}