wok view anacron/receipt @ rev 14924

Up: firefox-langpack-zh_TW (17.0.7esr)
author Richard Dunbar <mojo@slitaz.org>
date Tue Aug 06 01:30:32 2013 +0000 (2013-08-06)
parents e48368ce3315
children 380ffe05937a
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 WEB_SITE="http://anacron.sourceforge.net/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
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 find $fs/usr/man -type f -exec chmod a-x \{\} \;
29 }