wok view tar/receipt @ rev 21060
updated iptstate (2.2.5 -> 2.2.6)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 13 16:29:27 2019 +0100 (2019-03-13) |
parents | 4b763f0957b5 |
children | e6acefc68df0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tar"
4 VERSION="1.30"
5 CATEGORY="utilities"
6 SHORT_DESC="GNU tar archiving tools."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnu.org/software/tar/"
11 WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
12 TAGS="archive compression"
13 HOST_ARCH="i486 arm"
15 DEPENDS="xz"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # this is needed since configure can't be run as root with out it
21 export FORCE_UNSAFE_CONFIGURE=1
22 ./configure \
23 --prefix=/usr \
24 --libexecdir=/usr/lib/$PACKAGE \
25 $CONFIGURE_ARGS
26 make
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs
34 cp -a $install/usr/bin $fs
35 }
37 # Prevent erasing busybox...
38 pre_install()
39 {
40 rm -f "$1/bin/tar"
41 }
43 post_remove()
44 {
45 ln -s /bin/busybox /bin/tar
46 }