wok view bzip2/receipt @ rev 3574
Update: coreutils, for Linux 2.6.29.3
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Thu Jun 25 12:25:00 2009 +0000 (2009-06-25) |
parents | 54e0e2124353 |
children | 702cfa82af35 |
line source
1 # SliTaz package receipt.
3 PACKAGE="bzip2"
4 VERSION="1.0.4"
5 CATEGORY="utilities"
6 SHORT_DESC="High-quality data compressor."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.bzip.org/"
10 WGET_URL="http://www.bzip.org/1.0.4/$TARBALL"
11 DEPENDS="bzlib"
12 TAGS="compression archive"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 make -f Makefile-libbz2_so
19 make clean
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $src/bzip2-shared $fs/usr/bin/bzip2
28 # Da bunzip2, bzcat and lib symlink.
29 cd $fs/usr/bin
30 ln -s bzip2 bunzip2
31 ln -s bzip2 bzcat
32 }
34 # Pre install commands for Tazpkg.
35 # Force remove of an eventual bzcat link to Busybox.
36 pre_install()
37 {
38 local root
39 root=$1
40 echo "Processing post-install commands..."
41 rm -f $root/usr/bin/bzcat
42 }