wok-4.x view xz/receipt @ rev 12055

xsane: removed cp for desktop file
author Samuel Trassare <samuel_trassare@yahoo.com>
date Wed Mar 07 19:54:02 2012 -0800 (2012-03-07)
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 #}