wok-next view anacron/receipt @ rev 17855

tazpanel: try to up to 1.8.4
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 25 00:40:10 2015 +0200 (2015-03-25)
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 }