wok view xz/receipt @ rev 13374

ncmpcpp: fix WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 16 09:09:17 2012 +0200 (2012-09-16)
parents b61c615f20eb
children a7d09b0de20c
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 WEB_SITE="http://tukaani.org/xz"
10 WGET_URL="$WEB_SITE/$TARBALL"
11 PROVIDE="lzma"
12 HOST_ARCH="i486 arm x86_64"
14 DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --enable-dynamic=yes \
22 --enable-small \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/lib
31 cp -a $install/usr/bin/xz $fs/usr/bin
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 #cp $stuff/lzma $fs/usr/bin
34 #ln -s lzma $fs/usr/bin/unlzma
35 #ln -s lzma $fs/usr/bin/lzcat
36 }
38 # Pre and post install commands for Tazpkg.
39 # We must remove all Busybox symlink before installing.
40 #
41 #pre_install()
42 #{
43 # local root
44 # root=$1
45 # echo "Processing pre-install commands..."
46 # echo -n "Removing all Busybox replaced utils... "
47 # rm -f $root/usr/bin/unlzma
48 # rm -f $root/usr/bin/lzcat
49 # status
50 #}
52 #post_remove()
53 #{
54 # ln -s /bin/busybox $1/usr/bin/unlzma
55 # ln -s /bin/busybox $1/usr/bin/lzcat
56 #}