wok-6.x view tar/receipt @ rev 15766

linux/linux-slitaz.config64: add IA32 emulation
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 06 17:10:57 2014 +0000 (2014-01-06)
parents 2067efdf9cc2
children 083f88526785
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
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 local root
39 root=$1
40 rm -f $root/bin/tar
41 }
43 post_remove()
44 {
45 ln -s /bin/busybox /bin/tar
46 }