wok-next view tar/receipt @ rev 18801
syslinux: auto unlzma needs size to work
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 11 17:54:50 2016 +0100 (2016-01-11) |
parents | 083f88526785 |
children | 96871f3890f0 |
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 }