wok-next view xz/receipt @ rev 20204
libjreen: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 22:50:48 2017 +0100 (2017-11-03) |
parents | 630dfb444bbd |
children | 90a5eb560fd6 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xz"
4 VERSION="5.2.3"
5 CATEGORY="base-system"
6 SHORT_DESC="XZ Utils"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="PublicDomain LGPL2.1 GPL2 GPL3"
9 WEB_SITE="https://tukaani.org/xz/"
10 TAGS="compression archive"
11 HOST_ARCH="i486 arm x86_64"
13 TARBALL="$PACKAGE-$VERSION.tar.xz"
14 WGET_URL="$WEB_SITE$TARBALL"
16 BUILD_DEPENDS="gettext"
17 SPLIT="xz-tools xz liblzma xz-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --disable-static \
24 --docdir=/usr/share/doc/xz-$VERSION \
25 --enable-small \
26 $CONFIGURE_ARGS &&
27 make && make install
29 mkdir -p $install/bin $install/lib
30 for i in lzma unlzma lzcat xz unxz xzcat; do
31 mv $install/usr/bin/$i $install/bin
32 done
33 mv $install/usr/lib/liblzma.so.* $install/lib
34 ln -sf ../../lib/$(readlink $install/usr/lib/liblzma.so) \
35 $install/usr/lib/liblzma.so
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 case $PACKAGE in
42 xz-tools)
43 copy /usr/bin/
44 CAT="utilities|misc commandline utilities"
45 DEPENDS="liblzma"
46 ;;
47 xz)
48 copy bin/
49 remove_already_packed
50 DEPENDS="liblzma"
51 ;;
52 liblzma)
53 copy liblzma.so*
54 CAT="libs|library"
55 DEPENDS=" "
56 ;;
57 xz-dev)
58 copy @dev
59 rm -r $fs/usr/share/
60 PROVIDE="liblzma-dev"
61 ;;
62 esac
63 }