wok-next view tar/receipt @ rev 16628
xorg-xf86-video-ati, xorg-xf86-video-intel: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 10 10:32:14 2014 +0000 (2014-05-10) |
parents | 600aaedb561d |
children | 9e01bc6321ea |
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 local root
39 root=$1
40 rm -f $root/bin/tar
41 }
43 post_remove()
44 {
45 ln -s /bin/busybox /bin/tar
46 }