wok-current view tar/receipt @ rev 20475
Typos in receipt variable names
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 17 10:43:04 2018 +0200 (2018-10-17) |
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 }