wok view anacron/receipt @ rev 17427

Up tazlito (5.2.6) & postgrey (1.35)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 05 13:01:58 2014 +0100 (2014-12-05)
parents a7b54d88ae54
children f0a0b5091b4a
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 LICENSE="GPL2"
9 WEB_SITE="http://anacron.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i "s|^PREFIX =.*|PREFIX = $DESTDIR|" Makefile
21 sed -i 's/const int isleap/int isleap/' gregor.c
22 make 2>&1 | grep -v Makefile:57 && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/* $fs
29 find $fs/usr/man -type f -exec chmod a-x \{\} \;
30 }