wok annotate gsl/receipt @ rev 25604

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 18 17:30:47 2023 +0000 (16 months ago)
parents 17091bc7c301
children d79ed38ace18
rev   line source
pankso@3603 1 # SliTaz package receipt.
pankso@3603 2
pankso@3603 3 PACKAGE="gsl"
Hans-G?nter@24629 4 VERSION="2.7.1"
pankso@3603 5 CATEGORY="development"
pankso@3603 6 SHORT_DESC="Numerical library for C and C++ programmers."
pankso@3603 7 MAINTAINER="pankso@slitaz.org"
pascal@15589 8 LICENSE="GPL3"
Hans-G?nter@21006 9 WEB_SITE="https://www.gnu.org/software/gsl/"
Hans-G?nter@21006 10
pankso@3603 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@3603 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@3603 13
pascal@24415 14 # What is the latest version available today?
pascal@24415 15 current_version()
pascal@24415 16 {
pascal@24415 17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24415 18 sed "/$PACKAGE-/!d;/tar/!d;/latest/d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 19 }
pascal@24415 20
pankso@3603 21 # Rules to configure and make the package.
pankso@3603 22 compile_rules()
pankso@3603 23 {
Hans-G?nter@21006 24 ./configure \
Hans-G?nter@21006 25 --prefix=/usr \
Hans-G?nter@21006 26 --infodir=/usr/share/info \
Hans-G?nter@21006 27 --mandir=/usr/share/man \
pankso@3603 28 $CONFIGURE_ARGS &&
Hans-G?nter@24629 29 make $MAKEFLAGS &&
Hans-G?nter@24629 30 make install DESTDIR=$DESTDIR
pankso@3603 31 }
pankso@3603 32
pankso@3603 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3603 34 genpkg_rules()
pankso@3603 35 {
Hans-G?nter@24629 36 cook_copy_folders bin
Hans-G?nter@24629 37 rm $fs/usr/bin/*-config
Hans-G?nter@24629 38 cook_copy_files *.so*
pankso@3603 39 }