wok-6.x annotate logrotate/receipt @ rev 4592
update get-wifi-firmaware; rt2860,rt2870 fw now in kernel; rt73,rt61 WGET_URL temporarily fixed using Arch sources
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Dec 11 12:21:27 2009 +0000 (2009-12-11) |
parents | |
children | 73b5177e96e3 |
rev | line source |
---|---|
pascal@3504 | 1 # SliTaz package receipt. |
pascal@3504 | 2 |
pascal@3504 | 3 PACKAGE="logrotate" |
pascal@3504 | 4 VERSION="3.7.8" |
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 |