# HG changeset patch # User Pascal Bellard # Date 1245425985 -7200 # Node ID ba1dc8244e4f81610a3b0296b09ad3d83488b650 # Parent b4180fb6239f9a6331e617886d3e98a69284ea59 Add logrotate diff -r b4180fb6239f -r ba1dc8244e4f logrotate/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/logrotate/receipt Fri Jun 19 17:39:45 2009 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="logrotate" +VERSION="3.7.8" +CATEGORY="system-tools" +SHORT_DESC="Automatic rotation compression, removal of log files." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://fedorahosted.org/logrotate/" +WGET_URL="http://www.sfr-fresh.com/unix/privat/$TARBALL" +DEPENDS="popt" +BUILD_DEPENDS="popt-dev" +CONFIG_FILE="/etc/logrotate.conf" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make && make PREFIX=$src/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr $fs/etc + touch $fs/etc/logrotate.conf + cp -a $_pkg/usr/sbin $fs/usr +} +