wok annotate tar/receipt @ rev 6994
Down: tar to 1.23. tar 1.24 thinks your not running configure in root when you are in root.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Oct 30 18:45:58 2010 +0000 (2010-10-30) |
parents | 33bc11bf50e3 |
children | 84c341d9a9bc |
rev | line source |
---|---|
pankso@455 | 1 # SliTaz package receipt. |
pankso@455 | 2 |
pankso@455 | 3 PACKAGE="tar" |
slaxemulator@6994 | 4 VERSION="1.23" |
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 } |