wok view anacron/receipt @ rev 24145
ventoy: set arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 17 10:14:59 2021 +0000 (2021-11-17) |
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 }