wok-4.x annotate logrotate/receipt @ rev 6398
Added build_depends needed for xorg-libXss to build in clean chroot. Fixed xorg-libXss-dev to have the files need to build gnome-mplayer.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Sep 24 18:38:31 2010 +0000 (2010-09-24) |
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 |