wok-next view xz/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | 0fcf48f89432 |
children | 523cce42deab |
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 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/xz.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$WEB_SITE$TARBALL"
15 BUILD_DEPENDS="gettext"
16 SPLIT="xz-tools xz liblzma xz-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 --enable-small \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install || return 1
27 mkdir -p $install/bin $install/lib
28 for i in lzma unlzma lzcat xz unxz xzcat; do
29 mv $install/usr/bin/$i $install/bin
30 done
31 mv $install/usr/lib/liblzma.so.* $install/lib
32 ln -sf ../../lib/$(readlink $install/usr/lib/liblzma.so) \
33 $install/usr/lib/liblzma.so
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 xz-tools)
39 copy /usr/bin/
40 CAT="utilities|misc commandline utilities"
41 DEPENDS="liblzma"
42 ;;
43 xz)
44 copy bin/ @rm
45 DEPENDS="liblzma"
46 TAGS="LFS compression archive"
47 ;;
48 liblzma)
49 copy liblzma.so*
50 CAT="libs|library"
51 DEPENDS=" "
52 ;;
53 xz-dev)
54 copy @dev
55 rm -r $fs/usr/share/
56 ;;
57 esac
58 }