wok annotate lzma/receipt @ rev 3982

Fix typo in pgadmin BUILD_DEPENDS
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Aug 28 10:33:31 2009 +0000 (2009-08-28)
parents 2ecddf4c213f
children 79ebfa5003d6
rev   line source
pankso@126 1 # SliTaz package receipt.
pankso@126 2
pankso@126 3 PACKAGE="lzma"
pascal@224 4 VERSION="4.57"
pankso@210 5 CATEGORY="base-system"
pankso@126 6 SHORT_DESC="Compressor with a high compression ratio."
pankso@126 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@224 8 TARBALL="lzma$(echo $VERSION | sed 's/\.//').tar.bz2"
pascal@224 9 WEB_SITE="http://sourceforge.net/projects/sevenzip/"
pascal@224 10 WGET_URL="$SF_MIRROR/sevenzip/$TARBALL"
pascal@1736 11 DEPENDS="lzlib zlib gcc-lib-base"
pascal@1514 12 BUILD_DEPENDS="zlib-dev"
pankso@126 13
pankso@126 14 # Rules to configure and make the package.
pankso@126 15 compile_rules()
pankso@126 16 {
pascal@1449 17 mkdir -p $src
pascal@1449 18 cd $src
pascal@1449 19 for i in ../* ; do
pascal@1449 20 case "$i" in
pascal@1449 21 ../receipt*|../taz|../stuff|../process.log);;
pascal@1449 22 ../$(basename $src));;
pascal@1449 23 *) mv $i .;;
pascal@1449 24 esac
pascal@1449 25 done
pascal@1442 26 if [ ! -f done.lzlib.u ]; then
pascal@1449 27 patch -p0 < ../stuff/lzlib.u || return 1
pascal@1442 28 touch done.lzlib.u
pascal@1442 29 fi
pascal@224 30 cd CPP/7zip/Compress/LZMA_Alone
pascal@1514 31 make -f makefile.gcc lzma
pascal@1514 32 make -f makefile.gcc liblz.so.1.0.0 &&
pascal@1514 33 make -f makefile.gcc lzma
pankso@126 34 }
pankso@126 35
pankso@126 36
pankso@126 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@126 38 genpkg_rules()
pankso@126 39 {
pankso@126 40 mkdir -p $fs/usr/bin
pascal@3854 41 cp -a $src/CPP/7zip/Compress/LZMA_Alone/lzma-shared $fs/usr/bin/lzma-alone
pascal@3854 42 cp stuff/lzma $fs/usr/bin
pascal@3854 43 chmod 755 $fs/usr/bin/lzma
pankso@126 44 }
pankso@126 45