wok view anacron/receipt @ rev 19360
Up tazpkg (916)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 01 16:27:13 2016 +0200 (2016-08-01) |
parents | 04d824c95283 |
children | 5f6c5106b1f5 |
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 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
23 mkdir -p $install/usr/share
24 mv $install/usr/man $install/usr/share
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/* $fs
31 }