wok-next view xz/receipt @ rev 21420

updated puzzles ( -> 20200413)
author Hans-G?nter Theisgen
date Mon Apr 27 17:23:45 2020 +0100 (2020-04-27)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xz"
4 VERSION="5.2.4"
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-dev"
16 SPLIT="$PACKAGE-tools $PACKAGE liblzma $PACKAGE-dev"
18 COPY_tools="/usr/bin/"
19 COPY_std="bin/ @rm"
20 COPY_liblzma="liblzma.so*"
22 CAT_tools="utilities|misc commandline utilities"
23 CAT_liblzma="libs|library"
25 DEPENDS_tools="liblzma"
26 DEPENDS_std="liblzma"
27 DEPENDS_liblzma=" "
29 TAGS_std="LFS compression archive"
31 compile_rules() {
32 ./configure \
33 --disable-static \
34 --enable-small \
35 $CONFIGURE_ARGS &&
36 fix libtool &&
37 make &&
38 make install || return 1
40 mkdir -p $install/bin $install/lib
41 for i in lzma unlzma lzcat xz unxz xzcat; do
42 mv $install/usr/bin/$i $install/bin
43 done
44 mv $install/usr/lib/liblzma.so.* $install/lib
45 ln -sf ../../lib/$(readlink $install/usr/lib/liblzma.so) \
46 $install/usr/lib/liblzma.so
47 }