wok-current view szip/receipt @ rev 25519
created recipes for libuv and libuv-dev 1.44.1
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 15:35:59 2023 +0100 (18 months ago) |
parents | f8a963794d31 |
children |
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="https://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 }