wok-6.x annotate tar/receipt @ rev 16863
Up qupzilla (1.6.6) for LxQt
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sun Jul 13 07:43:00 2014 +0000 (2014-07-13) |
parents | 600aaedb561d |
children | 9e01bc6321ea |
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 { |
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 } |