wok view xz/receipt @ rev 18716

cups, cups-pam: remove duplicate files with libcups; misc. edits.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 17 05:25:15 2015 +0200 (2015-12-17)
parents 63c5836ca32c
children 9e01bc6321ea
line source
1 # SliTaz package receipt.
3 PACKAGE="xz"
4 VERSION="5.2.1"
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.xz"
10 WEB_SITE="http://tukaani.org/xz"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 TAGS="compression archive"
13 PROVIDE="lzma"
14 HOST_ARCH="i486 arm x86_64"
16 DEPENDS="liblzma"
17 BUILD_DEPENDS=""
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --enable-dynamic=yes \
25 --enable-small \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin $fs/usr/lib
34 cp -a $install/usr/bin/xz $fs/usr/bin
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 #}