wok-current view szip/receipt @ rev 24396

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 08 12:15:27 2022 +0000 (2022-02-08)
parents ccb0caebef6f
children e717a4953b0e
line source
1 # SliTaz package receipt.
3 PACKAGE="szip"
4 VERSION="2.1.1"
5 CATEGORY="misc"
6 SHORT_DESC="Lossless compression of scientific data."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.hdfgroup.org/doc_resource/SZIP"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://www.hdfgroup.org/ftp/lib-external/szip/$VERSION/src/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 current_version()
17 {
18 wget -O - $WEB_SITE 2>/dev/null | \
19 sed '/tar/!d;s|.*szip-||;s|.tar.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure $CONFIGURE_ARGS &&
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }