wok view logrotate/receipt @ rev 11973
Up: tazpanel (1.4.3) - Bug fix and small improvment
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Mar 02 20:15:31 2012 +0100 (2012-03-02) |
parents | ba1dc8244e4f |
children | 2dde678153c7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="logrotate"
4 VERSION="3.7.9"
5 CATEGORY="system-tools"
6 SHORT_DESC="Automatic rotation compression, removal of log files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="https://fedorahosted.org/logrotate/"
10 WGET_URL="http://www.sfr-fresh.com/unix/privat/$TARBALL"
11 DEPENDS="popt"
12 BUILD_DEPENDS="popt-dev"
13 CONFIG_FILE="/etc/logrotate.conf"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make && make PREFIX=$src/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr $fs/etc
26 touch $fs/etc/logrotate.conf
27 cp -a $_pkg/usr/sbin $fs/usr
28 }