wok-next annotate tar/receipt @ rev 19221
Up pcre (8.39); add pcre2 (10.21).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jun 18 19:48:35 2016 +0300 (2016-06-18) |
parents | 083f88526785 |
children | 96871f3890f0 |
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@16314 | 13 HOST_ARCH="i486 arm" |
pankso@455 | 14 |
pankso@455 | 15 # Rules to configure and make the package. |
pankso@455 | 16 compile_rules() |
pankso@455 | 17 { |
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 { |
pascal@18730 | 38 rm -f "$1/bin/tar" |
pankso@455 | 39 } |
pankso@455 | 40 |
pankso@455 | 41 post_remove() |
pankso@455 | 42 { |
pascal@5014 | 43 ln -s /bin/busybox /bin/tar |
pankso@455 | 44 } |