wok-current view anacron/receipt @ rev 14672

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