wok view tar/receipt @ rev 12203
pm-utils: fix grep params in pm/functions.in again
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Mon Mar 26 20:54:35 2012 +0200 (2012-03-26) |
parents | 8502c6fe00f2 |
children | 600aaedb561d |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnu.org/software/tar/"
10 WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
11 TAGS="archive compression"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 # this is needed since configure can't be run as root with out it
18 export FORCE_UNSAFE_CONFIGURE=1
19 ./configure \
20 --prefix=/usr \
21 --libexecdir=/usr/lib/$PACKAGE \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs
31 cp -a $_pkg/usr/bin $fs
32 }
34 # Prevent erasing busybox...
35 pre_install()
36 {
37 local root
38 root=$1
39 rm -f $root/bin/tar
40 }
42 post_remove()
43 {
44 ln -s /bin/busybox /bin/tar
45 }