wok view pxz/receipt @ rev 25421
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 10 07:02:08 2022 +0000 (2022-08-10) |
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 }