wok-6.x view xz/receipt @ rev 12846

Up: ffmpeg (0.10.3)
author Dominique Corbex <domcox@slitaz.org>
date Wed May 23 13:00:15 2012 +0200 (2012-05-23)
parents fc477d1ae77b
children 332d333c6408
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"
13 HOST_ARCH="i486 arm x86_64"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --enable-dynamic=yes \
21 --enable-small \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 cp -a $install/usr/bin/xz $fs/usr/bin
31 #cp $stuff/lzma $fs/usr/bin
32 #ln -s lzma $fs/usr/bin/unlzma
33 #ln -s lzma $fs/usr/bin/lzcat
34 }
36 # Pre and post install commands for Tazpkg.
37 # We must remove all Busybox symlink before installing.
38 #
39 #pre_install()
40 #{
41 # local root
42 # root=$1
43 # echo "Processing pre-install commands..."
44 # echo -n "Removing all Busybox replaced utils... "
45 # rm -f $root/usr/bin/unlzma
46 # rm -f $root/usr/bin/lzcat
47 # status
48 #}
50 #post_remove()
51 #{
52 # ln -s /bin/busybox $1/usr/bin/unlzma
53 # ln -s /bin/busybox $1/usr/bin/lzcat
54 #}