wok-6.x annotate anacron/receipt @ rev 14789
Fix ownership and permissions for some files in some packages: adeskbar, ajaxterm, amsn, anacron, arora, asciiquarium, assaultcube-data, asterisk-sound-fr, asterisk-sound, attr-dev, attr, audacious, avidemux, awstats, bind-dev, binutils, blogotext, bootchart, btanks, bzip2-dev, c-client, cairo-dock.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 08 11:45:27 2013 +0300 (2013-07-08) |
parents | e48368ce3315 |
children | 380ffe05937a |
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" |
al@14789 | 8 WEB_SITE="http://anacron.sourceforge.net/" |
pascal@14572 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14572 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@14572 | 11 |
pascal@14572 | 12 DEPENDS="" |
pascal@14572 | 13 BUILD_DEPENDS="" |
pascal@14572 | 14 |
pascal@14572 | 15 # Rules to configure and make the package. |
pascal@14572 | 16 compile_rules() |
pascal@14572 | 17 { |
pascal@14572 | 18 cd $src |
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 |
pascal@14572 | 22 } |
pascal@14572 | 23 |
pascal@14572 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14572 | 25 genpkg_rules() |
pascal@14572 | 26 { |
pascal@14572 | 27 cp -a $install/* $fs |
al@14789 | 28 find $fs/usr/man -type f -exec chmod a-x \{\} \; |
pascal@14572 | 29 } |