wok view pxz/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents f891aaa33829
children 73f36875e5a7
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="http://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 }