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