wok annotate tar/receipt @ rev 21735
vlgothic-fonts: use archive.org as web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 13 15:52:10 2019 +0200 (2019-06-13) |
parents | 4b763f0957b5 |
children | e6acefc68df0 |
rev | line source |
---|---|
pankso@455 | 1 # SliTaz package receipt. |
pankso@455 | 2 |
pankso@455 | 3 PACKAGE="tar" |
Hans-G?nter@20500 | 4 VERSION="1.30" |
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 |
pascal@20091 | 15 DEPENDS="xz" |
pascal@20091 | 16 |
pankso@455 | 17 # Rules to configure and make the package. |
pankso@455 | 18 compile_rules() |
pankso@455 | 19 { |
slaxemulator@7183 | 20 # this is needed since configure can't be run as root with out it |
slaxemulator@7183 | 21 export FORCE_UNSAFE_CONFIGURE=1 |
pankso@455 | 22 ./configure \ |
pankso@455 | 23 --prefix=/usr \ |
pankso@455 | 24 --libexecdir=/usr/lib/$PACKAGE \ |
pankso@455 | 25 $CONFIGURE_ARGS |
pankso@455 | 26 make |
pascal@15590 | 27 make DESTDIR=$DESTDIR install |
pankso@455 | 28 } |
pankso@455 | 29 |
pankso@455 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@455 | 31 genpkg_rules() |
pankso@455 | 32 { |
pascal@5014 | 33 mkdir -p $fs |
pascal@15590 | 34 cp -a $install/usr/bin $fs |
pankso@455 | 35 } |
pankso@455 | 36 |
pankso@455 | 37 # Prevent erasing busybox... |
pankso@455 | 38 pre_install() |
pankso@455 | 39 { |
pascal@18730 | 40 rm -f "$1/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 } |