wok-current view anacron/receipt @ rev 17341

slitaz-configs-base: Up (5.5.7); mesa-dri: remove vmwgfx
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Nov 05 23:50:10 2014 +0100 (2014-11-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 }