wok-6.x annotate bzip2/receipt @ rev 2113

aspell: add extra locales
author Paul Issott <paul@slitaz.org>
date Thu Jan 29 20:18:28 2009 +0000 (2009-01-29)
parents cf22fee17710
children f9e78593eb58
rev   line source
pankso@11 1 # SliTaz package receipt.
pankso@11 2
pankso@11 3 PACKAGE="bzip2"
pankso@11 4 VERSION="1.0.4"
pankso@211 5 CATEGORY="utilities"
pankso@11 6 SHORT_DESC="High-quality data compressor."
pankso@11 7 MAINTAINER="pankso@slitaz.org"
pankso@11 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@11 9 WEB_SITE="http://www.bzip.org/"
pankso@11 10 WGET_URL="http://www.bzip.org/1.0.4/$TARBALL"
pascal@752 11 DEPENDS="bzlib"
pankso@11 12
pankso@11 13 # Rules to configure and make the package.
pankso@11 14 compile_rules()
pankso@11 15 {
pankso@11 16 cd $src
pankso@11 17 make -f Makefile-libbz2_so
pankso@11 18 make clean
pankso@11 19 make
pankso@11 20 }
pankso@11 21
pankso@11 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@11 23 genpkg_rules()
pankso@11 24 {
pascal@752 25 mkdir -p $fs/usr/bin
pankso@11 26 cp -a $src/bzip2-shared $fs/usr/bin/bzip2
pankso@11 27 # Da bunzip2, bzcat and lib symlink.
pankso@11 28 cd $fs/usr/bin
pankso@11 29 ln -s bzip2 bunzip2
pankso@11 30 ln -s bzip2 bzcat
pankso@11 31 }
pankso@11 32
pankso@11 33 # Pre install commands for Tazpkg.
pankso@11 34 # Force remove of an eventual bzcat link to Busybox.
pankso@11 35 pre_install()
pankso@11 36 {
pankso@11 37 local root
pankso@11 38 root=$1
pankso@11 39 echo "Processing post-install commands..."
pankso@11 40 rm -f $root/usr/bin/bzcat
pankso@11 41 }