wok-6.x view xz/receipt @ rev 11980
remove extensions from desktop files
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Fri Mar 02 15:07:47 2012 -0800 (2012-03-02) |
parents | b3a7c42da734 |
children | fc477d1ae77b |
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 #}