wok-next view bzip2/receipt @ rev 1419
Add ptlib ptlib-dev
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 25 10:07:08 2008 +0000 (2008-09-25) |
parents | cf22fee17710 |
children | f9e78593eb58 |
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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make -f Makefile-libbz2_so
18 make clean
19 make
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin
26 cp -a $src/bzip2-shared $fs/usr/bin/bzip2
27 # Da bunzip2, bzcat and lib symlink.
28 cd $fs/usr/bin
29 ln -s bzip2 bunzip2
30 ln -s bzip2 bzcat
31 }
33 # Pre install commands for Tazpkg.
34 # Force remove of an eventual bzcat link to Busybox.
35 pre_install()
36 {
37 local root
38 root=$1
39 echo "Processing post-install commands..."
40 rm -f $root/usr/bin/bzcat
41 }