wok-6.x annotate tar/receipt @ rev 5881
tazbb: fix date overflow
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 21 09:48:32 2010 +0200 (2010-07-21) |
parents | 866fa2493b1b |
children | 244aef42ee60 |
rev | line source |
---|---|
pankso@455 | 1 # SliTaz package receipt. |
pankso@455 | 2 |
pankso@455 | 3 PACKAGE="tar" |
pankso@613 | 4 VERSION="1.20" |
pankso@455 | 5 CATEGORY="utilities" |
pankso@455 | 6 SHORT_DESC="GNU tar archiving tools." |
pankso@455 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@455 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@613 | 9 WEB_SITE="http://www.gnu.org/software/tar/" |
pankso@455 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
jozee@4973 | 11 TAGS="archive compression" |
pankso@455 | 12 |
pankso@455 | 13 # Rules to configure and make the package. |
pankso@455 | 14 compile_rules() |
pankso@455 | 15 { |
pankso@455 | 16 cd $src |
pankso@455 | 17 ./configure \ |
pankso@455 | 18 --prefix=/usr \ |
pankso@455 | 19 --libexecdir=/usr/lib/$PACKAGE \ |
pankso@455 | 20 $CONFIGURE_ARGS |
pankso@455 | 21 make |
pankso@455 | 22 make DESTDIR=$PWD/_pkg install |
pankso@455 | 23 } |
pankso@455 | 24 |
pankso@455 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@455 | 26 genpkg_rules() |
pankso@455 | 27 { |
pascal@5014 | 28 mkdir -p $fs |
pascal@5014 | 29 cp -a $_pkg/usr/bin $fs |
pankso@455 | 30 } |
pankso@455 | 31 |
pankso@455 | 32 # Prevent erasing busybox... |
pankso@455 | 33 pre_install() |
pankso@455 | 34 { |
pankso@455 | 35 local root |
pankso@455 | 36 root=$1 |
pascal@5014 | 37 rm -f $root/bin/tar |
pankso@455 | 38 } |
pankso@455 | 39 |
pankso@455 | 40 post_remove() |
pankso@455 | 41 { |
pascal@5014 | 42 ln -s /bin/busybox /bin/tar |
pankso@455 | 43 } |