wok view anacron/receipt @ rev 15171
gummi: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 16 08:40:38 2013 +0000 (2013-08-16) |
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 }