wok-current annotate xz/receipt @ rev 23063
lxpanel-dev: add some private files to build waterline-plugin-multiload
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 08 16:20:08 2020 +0100 (2020-03-08) |
parents | a6c5dc96c0a5 |
children | 3a53397fd362 |
rev | line source |
---|---|
pascal@4151 | 1 # SliTaz package receipt. |
pascal@4151 | 2 |
pascal@4151 | 3 PACKAGE="xz" |
pascal@20306 | 4 VERSION="5.2.4" |
pascal@4151 | 5 CATEGORY="base-system" |
pascal@4151 | 6 SHORT_DESC="General-purpose data compressor with a high compression ratio." |
pascal@4151 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14799 | 8 LICENSE="PublicDomain LGPL2.1 GPL2 GPL3" |
pascal@18337 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@4151 | 10 WEB_SITE="http://tukaani.org/xz" |
pascal@4151 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@18337 | 12 TAGS="compression archive" |
pankso@12835 | 13 HOST_ARCH="i486 arm x86_64" |
pascal@4151 | 14 |
pascal@14799 | 15 DEPENDS="liblzma" |
pascal@14799 | 16 BUILD_DEPENDS="" |
pankso@12913 | 17 |
pascal@4151 | 18 # Rules to configure and make the package. |
pascal@4151 | 19 compile_rules() |
pascal@4151 | 20 { |
pankso@12811 | 21 ./configure \ |
pankso@12811 | 22 --enable-dynamic=yes \ |
pankso@12811 | 23 --enable-small \ |
pankso@12811 | 24 $CONFIGURE_ARGS && |
slaxemulator@10045 | 25 make && make install |
pascal@4151 | 26 } |
pascal@4151 | 27 |
pascal@4151 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4151 | 29 genpkg_rules() |
pascal@4151 | 30 { |
pankso@12913 | 31 mkdir -p $fs/usr/bin $fs/usr/lib |
pankso@12811 | 32 cp -a $install/usr/bin/xz $fs/usr/bin |
pascal@4151 | 33 } |