wok view pxz/receipt @ rev 25611

Add zx0
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 01 18:37:27 2023 +0000 (16 months ago)
parents ad8b9ff412d2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pxz"
4 VERSION="4.999.9beta.20091201git"
5 CATEGORY="base-system"
6 SHORT_DESC="Parallel LZMA compressor using liblzma."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://jnovy.fedorapeople.org/pxz"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS="liblzma libgomp"
14 BUILD_DEPENDS="liblzma-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/node3.html 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }