wok-next annotate tar/receipt @ rev 15846
python-distribute: Fixed WGET_URL.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jan 27 06:32:12 2014 +0000 (2014-01-27) |
parents | 2067efdf9cc2 |
children | 083f88526785 |
rev | line source |
---|---|
pankso@455 | 1 # SliTaz package receipt. |
pankso@455 | 2 |
pankso@455 | 3 PACKAGE="tar" |
slaxemulator@9243 | 4 VERSION="1.26" |
pankso@455 | 5 CATEGORY="utilities" |
pankso@455 | 6 SHORT_DESC="GNU tar archiving tools." |
pankso@455 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15590 | 8 LICENSE="GPL3" |
pankso@455 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@613 | 10 WEB_SITE="http://www.gnu.org/software/tar/" |
slaxemulator@9247 | 11 WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$TARBALL" |
jozee@4973 | 12 TAGS="archive compression" |
pankso@455 | 13 |
pankso@455 | 14 # Rules to configure and make the package. |
pankso@455 | 15 compile_rules() |
pankso@455 | 16 { |
pankso@455 | 17 cd $src |
slaxemulator@7183 | 18 # this is needed since configure can't be run as root with out it |
slaxemulator@7183 | 19 export FORCE_UNSAFE_CONFIGURE=1 |
pankso@455 | 20 ./configure \ |
pankso@455 | 21 --prefix=/usr \ |
pankso@455 | 22 --libexecdir=/usr/lib/$PACKAGE \ |
pankso@455 | 23 $CONFIGURE_ARGS |
pankso@455 | 24 make |
pascal@15590 | 25 make DESTDIR=$DESTDIR install |
pankso@455 | 26 } |
pankso@455 | 27 |
pankso@455 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@455 | 29 genpkg_rules() |
pankso@455 | 30 { |
pascal@5014 | 31 mkdir -p $fs |
pascal@15590 | 32 cp -a $install/usr/bin $fs |
pankso@455 | 33 } |
pankso@455 | 34 |
pankso@455 | 35 # Prevent erasing busybox... |
pankso@455 | 36 pre_install() |
pankso@455 | 37 { |
pankso@455 | 38 local root |
pankso@455 | 39 root=$1 |
pascal@5014 | 40 rm -f $root/bin/tar |
pankso@455 | 41 } |
pankso@455 | 42 |
pankso@455 | 43 post_remove() |
pankso@455 | 44 { |
pascal@5014 | 45 ln -s /bin/busybox /bin/tar |
pankso@455 | 46 } |