wok-6.x annotate tar/receipt @ rev 22696
Remove ffmpeg-git
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 21 08:08:43 2020 +0100 (2020-01-21) |
parents | 2c8959d87a92 |
children | 71360a13cd94 |
rev | line source |
---|---|
pankso@455 | 1 # SliTaz package receipt. |
pankso@455 | 2 |
pankso@455 | 3 PACKAGE="tar" |
Hans-G?nter@22004 | 4 VERSION="1.32" |
pankso@455 | 5 CATEGORY="utilities" |
Hans-G?nter@22004 | 6 TAGS="archive compression" |
pankso@455 | 7 SHORT_DESC="GNU tar archiving tools." |
pankso@455 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15590 | 9 LICENSE="GPL3" |
Hans-G?nter@22004 | 10 WEB_SITE="https://www.gnu.org/software/tar/" |
Hans-G?nter@22004 | 11 |
pankso@455 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@22004 | 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@455 | 14 |
pascal@20091 | 15 DEPENDS="xz" |
pascal@20091 | 16 |
Hans-G?nter@22004 | 17 HOST_ARCH="i486 arm" |
Hans-G?nter@22004 | 18 |
pankso@455 | 19 # Rules to configure and make the package. |
pankso@455 | 20 compile_rules() |
pankso@455 | 21 { |
slaxemulator@7183 | 22 # this is needed since configure can't be run as root with out it |
slaxemulator@7183 | 23 export FORCE_UNSAFE_CONFIGURE=1 |
Hans-G?nter@22004 | 24 |
Hans-G?nter@22004 | 25 ./configure \ |
Hans-G?nter@22004 | 26 --prefix=/usr \ |
Hans-G?nter@22004 | 27 --libexecdir=/usr/lib/$PACKAGE \ |
Hans-G?nter@22004 | 28 $CONFIGURE_ARGS && |
Hans-G?nter@22004 | 29 make && |
pascal@15590 | 30 make DESTDIR=$DESTDIR install |
pankso@455 | 31 } |
pankso@455 | 32 |
pankso@455 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@455 | 34 genpkg_rules() |
pankso@455 | 35 { |
pascal@5014 | 36 mkdir -p $fs |
pascal@15590 | 37 cp -a $install/usr/bin $fs |
pankso@455 | 38 } |
pankso@455 | 39 |
pankso@455 | 40 # Prevent erasing busybox... |
pankso@455 | 41 pre_install() |
pankso@455 | 42 { |
pascal@18730 | 43 rm -f "$1/bin/tar" |
pankso@455 | 44 } |
pankso@455 | 45 |
pankso@455 | 46 post_remove() |
pankso@455 | 47 { |
pascal@5014 | 48 ln -s /bin/busybox /bin/tar |
pankso@455 | 49 } |