wok rev 3504

Add logrotate
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 19 17:39:45 2009 +0200 (2009-06-19)
parents b4180fb6239f
children 78640377ce73
files logrotate/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/logrotate/receipt	Fri Jun 19 17:39:45 2009 +0200
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="logrotate"
     1.7 +VERSION="3.7.8"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Automatic rotation compression, removal of log files."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="https://fedorahosted.org/logrotate/"
    1.13 +WGET_URL="http://www.sfr-fresh.com/unix/privat/$TARBALL"
    1.14 +DEPENDS="popt"
    1.15 +BUILD_DEPENDS="popt-dev"
    1.16 +CONFIG_FILE="/etc/logrotate.conf"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	make && make PREFIX=$src/_pkg install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr $fs/etc
    1.29 +	touch $fs/etc/logrotate.conf
    1.30 +	cp -a $_pkg/usr/sbin $fs/usr
    1.31 +}
    1.32 +