wok-stable diff logrotate/receipt @ rev 3687

Add: tcllib
author Paul Issott <paul@slitaz.org>
date Wed Jul 15 17:55:20 2009 +0000 (2009-07-15)
parents
children 73b5177e96e3
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/logrotate/receipt	Wed Jul 15 17:55:20 2009 +0000
     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 +