wok annotate matio/receipt @ rev 25603
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 18 11:43:32 2023 +0000 (16 months ago) |
parents | 65ff25c4de90 |
children |
rev | line source |
---|---|
pascal@17973 | 1 # SliTaz package receipt. |
pascal@17973 | 2 |
pascal@17973 | 3 PACKAGE="matio" |
Hans-G?nter@24881 | 4 VERSION="1.5.22" |
pascal@17973 | 5 CATEGORY="development" |
Hans-G?nter@21422 | 6 SHORT_DESC="Library for reading and writing Matlab MAT files." |
pascal@17973 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17973 | 8 LICENSE="BSD" |
pascal@25465 | 9 WEB_SITE="https://github.com/tbeu/matio" |
Hans-G?nter@21422 | 10 |
pascal@17973 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21422 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@17973 | 13 |
pascal@17973 | 14 DEPENDS="zlib" |
pascal@17973 | 15 |
pascal@24402 | 16 # What is the latest version available today? |
pascal@24402 | 17 current_version() |
pascal@24402 | 18 { |
pascal@25603 | 19 wget -O - $WEB_SITE/tags 2>/dev/null | \ |
pascal@25603 | 20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24402 | 21 } |
pascal@24402 | 22 |
pascal@17973 | 23 # Rules to configure and make the package. |
pascal@17973 | 24 compile_rules() |
pascal@17973 | 25 { |
Hans-G?nter@21422 | 26 ./configure \ |
Hans-G?nter@21422 | 27 --prefix=/usr \ |
Hans-G?nter@21422 | 28 --infodir=/usr/share/info \ |
Hans-G?nter@21422 | 29 --mandir=/usr/share/man \ |
pascal@17973 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@24881 | 31 make && |
Hans-G?nter@24881 | 32 make install DESTDIR=$DESTDIR |
pascal@17973 | 33 } |
pascal@17973 | 34 |
pascal@17973 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17973 | 36 genpkg_rules() |
pascal@17973 | 37 { |
Hans-G?nter@24881 | 38 cook_copy_folders bin |
Hans-G?nter@24881 | 39 cook_copy_files *.so* |
pascal@17973 | 40 } |