wok-next annotate xz/receipt @ rev 21290
updated gnustep-back (0.25.1 -> 0.27.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Dec 08 12:42:33 2019 +0100 (2019-12-08) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
pascal@4151 | 2 |
pascal@4151 | 3 PACKAGE="xz" |
al@20861 | 4 VERSION="5.2.4" |
pascal@4151 | 5 CATEGORY="base-system" |
al@19741 | 6 SHORT_DESC="XZ Utils" |
pascal@4151 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14799 | 8 LICENSE="PublicDomain LGPL2.1 GPL2 GPL3" |
al@19741 | 9 WEB_SITE="https://tukaani.org/xz/" |
al@20436 | 10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/xz.html" |
pascal@4151 | 11 |
al@19568 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19568 | 13 WGET_URL="$WEB_SITE$TARBALL" |
al@19568 | 14 |
al@21020 | 15 BUILD_DEPENDS="gettext-dev" |
al@21020 | 16 SPLIT="$PACKAGE-tools $PACKAGE liblzma $PACKAGE-dev" |
pankso@12913 | 17 |
al@21064 | 18 COPY_tools="/usr/bin/" |
al@21064 | 19 COPY_std="bin/ @rm" |
al@21064 | 20 COPY_liblzma="liblzma.so*" |
al@21064 | 21 |
al@21064 | 22 CAT_tools="utilities|misc commandline utilities" |
al@21064 | 23 CAT_liblzma="libs|library" |
al@21064 | 24 |
al@21064 | 25 DEPENDS_tools="liblzma" |
al@21064 | 26 DEPENDS_std="liblzma" |
al@21064 | 27 DEPENDS_liblzma=" " |
al@21064 | 28 |
al@21064 | 29 TAGS_std="LFS compression archive" |
al@21064 | 30 |
al@20436 | 31 compile_rules() { |
pankso@12811 | 32 ./configure \ |
al@19568 | 33 --disable-static \ |
pankso@12811 | 34 --enable-small \ |
pankso@12811 | 35 $CONFIGURE_ARGS && |
al@20604 | 36 fix libtool && |
al@20604 | 37 make && |
al@20604 | 38 make install || return 1 |
al@19568 | 39 |
al@19568 | 40 mkdir -p $install/bin $install/lib |
al@19568 | 41 for i in lzma unlzma lzcat xz unxz xzcat; do |
al@19568 | 42 mv $install/usr/bin/$i $install/bin |
al@19568 | 43 done |
al@19568 | 44 mv $install/usr/lib/liblzma.so.* $install/lib |
al@19568 | 45 ln -sf ../../lib/$(readlink $install/usr/lib/liblzma.so) \ |
al@19568 | 46 $install/usr/lib/liblzma.so |
pascal@4151 | 47 } |