wok annotate anacron/receipt @ rev 15573
wikiss: add Calc plugin
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 28 19:25:13 2013 +0000 (2013-11-28) |
parents | a7b54d88ae54 |
children | f0a0b5091b4a |
rev | line source |
---|---|
pascal@14572 | 1 # SliTaz package receipt. |
pascal@14572 | 2 |
pascal@14572 | 3 PACKAGE="anacron" |
pascal@14572 | 4 VERSION="2.3" |
pascal@14572 | 5 CATEGORY="utilities" |
pascal@14572 | 6 SHORT_DESC="Periodic command scheduler." |
pascal@14572 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@14789 | 9 WEB_SITE="http://anacron.sourceforge.net/" |
pascal@14572 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14572 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@14572 | 12 |
pascal@14572 | 13 DEPENDS="" |
pascal@14572 | 14 BUILD_DEPENDS="" |
pascal@14572 | 15 |
pascal@14572 | 16 # Rules to configure and make the package. |
pascal@14572 | 17 compile_rules() |
pascal@14572 | 18 { |
pascal@14572 | 19 cd $src |
pascal@14572 | 20 sed -i "s|^PREFIX =.*|PREFIX = $DESTDIR|" Makefile |
pascal@14572 | 21 sed -i 's/const int isleap/int isleap/' gregor.c |
pascal@14572 | 22 make 2>&1 | grep -v Makefile:57 && make install |
pascal@14572 | 23 } |
pascal@14572 | 24 |
pascal@14572 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14572 | 26 genpkg_rules() |
pascal@14572 | 27 { |
pascal@14572 | 28 cp -a $install/* $fs |
al@14789 | 29 find $fs/usr/man -type f -exec chmod a-x \{\} \; |
pascal@14572 | 30 } |