wok view tar/receipt @ rev 20095

slitaz-base-files: don't backup-restore the whole /etc ($CONFIG_FILES variable exist), allow to update /etc/init.d/rc.functions
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 05 23:51:00 2017 +0300 (2017-10-05)
parents 514725e5e57b
children 2c8959d87a92
line source
1 # SliTaz package receipt.
3 PACKAGE="tar"
4 VERSION="1.29"
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 }