wok view tar/receipt @ rev 18938

vnstat: add vnstatd daemon handling
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 01 13:43:15 2016 +0200 (2016-03-01)
parents 083f88526785
children 514725e5e57b
line source
1 # SliTaz package receipt.
3 PACKAGE="tar"
4 VERSION="1.26"
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 # Rules to configure and make the package.
16 compile_rules()
17 {
18 # this is needed since configure can't be run as root with out it
19 export FORCE_UNSAFE_CONFIGURE=1
20 ./configure \
21 --prefix=/usr \
22 --libexecdir=/usr/lib/$PACKAGE \
23 $CONFIGURE_ARGS
24 make
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs
32 cp -a $install/usr/bin $fs
33 }
35 # Prevent erasing busybox...
36 pre_install()
37 {
38 rm -f "$1/bin/tar"
39 }
41 post_remove()
42 {
43 ln -s /bin/busybox /bin/tar
44 }