wok annotate xz/receipt @ rev 23862
xvkbd: wget_url that works for cook
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Jun 19 11:08:54 2020 -0400 (2020-06-19) |
parents | 46f4f0519187 |
children | 922f061231c2 |
rev | line source |
---|---|
pascal@4151 | 1 # SliTaz package receipt. |
pascal@4151 | 2 |
pascal@4151 | 3 PACKAGE="xz" |
Hans-G?nter@23785 | 4 VERSION="5.2.5" |
pascal@4151 | 5 CATEGORY="base-system" |
Hans-G?nter@23785 | 6 TAGS="compression archive" |
pascal@4151 | 7 SHORT_DESC="General-purpose data compressor with a high compression ratio." |
pascal@4151 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14799 | 9 LICENSE="PublicDomain LGPL2.1 GPL2 GPL3" |
Hans-G?nter@23785 | 10 WEB_SITE="https://tukaani.org/xz" |
Hans-G?nter@23785 | 11 |
pascal@18337 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@4151 | 13 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@4151 | 14 |
pascal@14799 | 15 DEPENDS="liblzma" |
pascal@14799 | 16 BUILD_DEPENDS="" |
pankso@12913 | 17 |
Hans-G?nter@23785 | 18 HOST_ARCH="i486 arm x86_64" |
Hans-G?nter@23785 | 19 |
pascal@4151 | 20 # Rules to configure and make the package. |
pascal@4151 | 21 compile_rules() |
pascal@4151 | 22 { |
Hans-G?nter@23785 | 23 ./configure \ |
Hans-G?nter@23785 | 24 --enable-dynamic=yes \ |
Hans-G?nter@23785 | 25 --enable-small \ |
pankso@12811 | 26 $CONFIGURE_ARGS && |
Hans-G?nter@23785 | 27 make && |
Hans-G?nter@23785 | 28 make install |
pascal@4151 | 29 } |
pascal@4151 | 30 |
pascal@4151 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4151 | 32 genpkg_rules() |
pascal@4151 | 33 { |
Hans-G?nter@23785 | 34 mkdir -p $fs/usr/bin |
Hans-G?nter@23785 | 35 cp -a $install/usr/bin/xz $fs/usr/bin |
pascal@4151 | 36 } |