wok-6.x view anacron/receipt @ rev 14887
Up: python-sqlalchemy (0.7.10)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Wed Jul 24 19:01:19 2013 -0300 (2013-07-24) |
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 }