wok-undigest view xz/receipt @ rev 1240
added recipes for p11-kit and p11-kit-dev
author | Hans-G?nter Theisgen |
---|---|
date | Sat Aug 06 17:37:04 2022 +0100 (2022-08-06) |
parents | |
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 }