wok-stable view xz/receipt @ rev 11346
Up: libpng to 1.2.46. Downgrade from 1.4.8. Don't updated in less chroot does auto updates otherwise there will be no point.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 27 16:31:29 2011 +0000 (2011-11-27) |
parents | b3a7c42da734 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xz"
4 VERSION="5.0.3"
5 CATEGORY="base-system"
6 SHORT_DESC="General-purpose data compressor with a high compression ratio."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 DEPENDS="liblzma"
10 WEB_SITE="http://tukaani.org/xz"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 PROVIDE="lzma"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure $CONFIGURE_ARGS \
19 --enable-dynamic=yes --enable-small &&
20 make && make install
21 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $_pkg/usr/bin/xz $fs/usr/bin
29 #cp $stuff/lzma $fs/usr/bin
30 #ln -s lzma $fs/usr/bin/unlzma
31 #ln -s lzma $fs/usr/bin/lzcat
32 }
34 # Pre and post install commands for Tazpkg.
35 # We must remove all Busybox symlink before installing.
36 #
37 #pre_install()
38 #{
39 # local root
40 # root=$1
41 # echo "Processing pre-install commands..."
42 # echo -n "Removing all Busybox replaced utils... "
43 # rm -f $root/usr/bin/unlzma
44 # rm -f $root/usr/bin/lzcat
45 # status
46 #}
48 #post_remove()
49 #{
50 # ln -s /bin/busybox $1/usr/bin/unlzma
51 # ln -s /bin/busybox $1/usr/bin/lzcat
52 #}