wok annotate szip/receipt @ rev 25576

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