wok view szip/receipt @ rev 25805
created recipe for xfce4-weather-plugin
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 15:24:31 2024 +0100 (8 days ago) |
parents | e717a4953b0e |
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://docs.hdfgroup.org/archive/support/doc_resource/SZIP/index.html"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://docs.hdfgroup.org/archive/support/ftp/lib-external/szip/$VERSION/src/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/tar/!d;s|.*szip-||;s|.tar.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }