wok-current view tar/receipt @ rev 22481

updated ansible (1.5.3 -> 2.9.2)
author Hans-G?nter Theisgen
date Mon Dec 30 14:41:15 2019 +0100 (2019-12-30)
parents 2c8959d87a92
children 71360a13cd94
line source
1 # SliTaz package receipt.
3 PACKAGE="tar"
4 VERSION="1.32"
5 CATEGORY="utilities"
6 TAGS="archive compression"
7 SHORT_DESC="GNU tar archiving tools."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://www.gnu.org/software/tar/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="xz"
17 HOST_ARCH="i486 arm"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # this is needed since configure can't be run as root with out it
23 export FORCE_UNSAFE_CONFIGURE=1
25 ./configure \
26 --prefix=/usr \
27 --libexecdir=/usr/lib/$PACKAGE \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs
37 cp -a $install/usr/bin $fs
38 }
40 # Prevent erasing busybox...
41 pre_install()
42 {
43 rm -f "$1/bin/tar"
44 }
46 post_remove()
47 {
48 ln -s /bin/busybox /bin/tar
49 }