wok-6.x view anacron/receipt @ rev 18085
Up mate-panel-dev: remove wget_url
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Fri May 22 19:44:36 2015 -0300 (2015-05-22) |
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 }