wok view xz/receipt @ rev 14799
Up: xz (5.0.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 13 15:04:42 2013 +0200 (2013-07-13) |
parents | a7d09b0de20c |
children | c36ddf77a3fc |
line source
1 # SliTaz package receipt.
3 PACKAGE="xz"
4 VERSION="5.0.5"
5 CATEGORY="base-system"
6 SHORT_DESC="General-purpose data compressor with a high compression ratio."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="PublicDomain LGPL2.1 GPL2 GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://tukaani.org/xz"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 PROVIDE="lzma"
13 HOST_ARCH="i486 arm x86_64"
15 DEPENDS="liblzma"
16 BUILD_DEPENDS=""
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --enable-dynamic=yes \
24 --enable-small \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin $fs/usr/lib
33 cp -a $install/usr/bin/xz $fs/usr/bin
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 #cp $stuff/lzma $fs/usr/bin
36 #ln -s lzma $fs/usr/bin/unlzma
37 #ln -s lzma $fs/usr/bin/lzcat
38 }
40 # Pre and post install commands for Tazpkg.
41 # We must remove all Busybox symlink before installing.
42 #
43 #pre_install()
44 #{
45 # local root
46 # root=$1
47 # echo "Processing pre-install commands..."
48 # echo -n "Removing all Busybox replaced utils... "
49 # rm -f $root/usr/bin/unlzma
50 # rm -f $root/usr/bin/lzcat
51 # status
52 #}
54 #post_remove()
55 #{
56 # ln -s /bin/busybox $1/usr/bin/unlzma
57 # ln -s /bin/busybox $1/usr/bin/lzcat
58 #}