wok-current annotate matio/receipt @ rev 25516
memtest64: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 19 11:36:17 2023 +0000 (20 months ago) |
parents | ad0bc3efbf37 |
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@24402 | 19 wget -O - https://sourceforge.net/projects/matio/files/matio/ 2>/dev/null | \ |
pascal@24402 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24402 | 21 sed '/scope="row/!d;s|.*/matio/||;s|/.*||;q' |
pascal@24402 | 22 } |
pascal@24402 | 23 |
pascal@17973 | 24 # Rules to configure and make the package. |
pascal@17973 | 25 compile_rules() |
pascal@17973 | 26 { |
Hans-G?nter@21422 | 27 ./configure \ |
Hans-G?nter@21422 | 28 --prefix=/usr \ |
Hans-G?nter@21422 | 29 --infodir=/usr/share/info \ |
Hans-G?nter@21422 | 30 --mandir=/usr/share/man \ |
pascal@17973 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@24881 | 32 make && |
Hans-G?nter@24881 | 33 make install DESTDIR=$DESTDIR |
pascal@17973 | 34 } |
pascal@17973 | 35 |
pascal@17973 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17973 | 37 genpkg_rules() |
pascal@17973 | 38 { |
Hans-G?nter@24881 | 39 cook_copy_folders bin |
Hans-G?nter@24881 | 40 cook_copy_files *.so* |
pascal@17973 | 41 } |