wok-6.x annotate logrotate/receipt @ rev 8504

gcc+gcj: remove build dir after packing files, don't exit but return
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 12 02:18:58 2011 +0100 (2011-02-12)
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