wok annotate anacron/receipt @ rev 20249
ardour: force 32 bits arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 15:48:01 2018 +0100 (2018-03-12) |
parents | 04d824c95283 |
children | 5f6c5106b1f5 |
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 sed -i "s|^PREFIX =.*|PREFIX = $DESTDIR|" Makefile |
pascal@14572 | 20 sed -i 's/const int isleap/int isleap/' gregor.c |
pascal@14572 | 21 make 2>&1 | grep -v Makefile:57 && make install |
al@19265 | 22 |
al@19265 | 23 mkdir -p $install/usr/share |
al@19265 | 24 mv $install/usr/man $install/usr/share |
pascal@14572 | 25 } |
pascal@14572 | 26 |
al@19265 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19265 | 28 genpkg_rules() |
pascal@14572 | 29 { |
pascal@14572 | 30 cp -a $install/* $fs |
pascal@14572 | 31 } |