wok-6.x annotate anacron/receipt @ rev 14700

monitorix: update /etc/monitorix.conf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 07 18:27:21 2013 +0200 (2013-06-07)
parents
children a7b54d88ae54
rev   line source
pascal@14572 1 # SliTaz package receipt.
pascal@14572 2
pascal@14572 3 PACKAGE="anacron"
pascal@14572 4 VERSION="2.3"
pascal@14572 5 CATEGORY="utilities"
pascal@14572 6 SHORT_DESC="Periodic command scheduler."
pascal@14572 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14572 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@14572 9 WEB_SITE="http://anacron.sourceforge.net/"
pascal@14572 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@14572 11
pascal@14572 12 DEPENDS=""
pascal@14572 13 BUILD_DEPENDS=""
pascal@14572 14
pascal@14572 15 # Rules to configure and make the package.
pascal@14572 16 compile_rules()
pascal@14572 17 {
pascal@14572 18 cd $src
pascal@14572 19 sed -i "s|^PREFIX =.*|PREFIX = $DESTDIR|" Makefile
pascal@14572 20 sed -i 's/const int isleap/int isleap/' gregor.c
pascal@14572 21 make 2>&1 | grep -v Makefile:57 && make install
pascal@14572 22 }
pascal@14572 23
pascal@14572 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14572 25 genpkg_rules()
pascal@14572 26 {
pascal@14572 27 cp -a $install/* $fs
pascal@14572 28 }