wok-4.x annotate logrotate/receipt @ rev 7175
Up: libupnp to 1.6.9.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 07 23:38:27 2010 +0000 (2010-11-07) |
parents | ba1dc8244e4f |
children | 2dde678153c7 |
rev | line source |
---|---|
pascal@3504 | 1 # SliTaz package receipt. |
pascal@3504 | 2 |
pascal@3504 | 3 PACKAGE="logrotate" |
pascal@5790 | 4 VERSION="3.7.9" |
pascal@3504 | 5 CATEGORY="system-tools" |
pascal@3504 | 6 SHORT_DESC="Automatic rotation compression, removal of log files." |
pascal@3504 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@3504 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@3504 | 9 WEB_SITE="https://fedorahosted.org/logrotate/" |
pascal@3504 | 10 WGET_URL="http://www.sfr-fresh.com/unix/privat/$TARBALL" |
pascal@3504 | 11 DEPENDS="popt" |
pascal@3504 | 12 BUILD_DEPENDS="popt-dev" |
pascal@3504 | 13 CONFIG_FILE="/etc/logrotate.conf" |
pascal@3504 | 14 |
pascal@3504 | 15 # Rules to configure and make the package. |
pascal@3504 | 16 compile_rules() |
pascal@3504 | 17 { |
pascal@3504 | 18 cd $src |
pascal@3504 | 19 make && make PREFIX=$src/_pkg install |
pascal@3504 | 20 } |
pascal@3504 | 21 |
pascal@3504 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3504 | 23 genpkg_rules() |
pascal@3504 | 24 { |
pascal@3504 | 25 mkdir -p $fs/usr $fs/etc |
pascal@3504 | 26 touch $fs/etc/logrotate.conf |
pascal@3504 | 27 cp -a $_pkg/usr/sbin $fs/usr |
pascal@3504 | 28 } |
pascal@3504 | 29 |