wok view tar/receipt @ rev 6994

Down: tar to 1.23. tar 1.24 thinks your not running configure in root when you are in root.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 30 18:45:58 2010 +0000 (2010-10-30)
parents 33bc11bf50e3
children 84c341d9a9bc
line source
1 # SliTaz package receipt.
3 PACKAGE="tar"
4 VERSION="1.23"
5 CATEGORY="utilities"
6 SHORT_DESC="GNU tar archiving tools."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnu.org/software/tar/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
11 TAGS="archive compression"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --libexecdir=/usr/lib/$PACKAGE \
20 $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs
29 cp -a $_pkg/usr/bin $fs
30 }
32 # Prevent erasing busybox...
33 pre_install()
34 {
35 local root
36 root=$1
37 rm -f $root/bin/tar
38 }
40 post_remove()
41 {
42 ln -s /bin/busybox /bin/tar
43 }