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

Up: edbus (1.7.8)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 19:15:48 2013 +0200 (2013-08-08)
parents fd331c8e3aa5
children 63c5836ca32c
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 $stuff/lzma $fs/usr/bin
35 #ln -s lzma $fs/usr/bin/unlzma
36 #ln -s lzma $fs/usr/bin/lzcat
37 }
39 # Pre and post install commands for Tazpkg.
40 # We must remove all Busybox symlink before installing.
41 #
42 #pre_install()
43 #{
44 # local root
45 # root=$1
46 # echo "Processing pre-install commands..."
47 # echo -n "Removing all Busybox replaced utils... "
48 # rm -f $root/usr/bin/unlzma
49 # rm -f $root/usr/bin/lzcat
50 # status
51 #}
53 #post_remove()
54 #{
55 # ln -s /bin/busybox $1/usr/bin/unlzma
56 # ln -s /bin/busybox $1/usr/bin/lzcat
57 #}