wok annotate gsl/receipt @ rev 24461

updated daloradius (0.9-9 -> 1.1-2)
author Hans-G?nter Theisgen
date Wed Feb 16 17:15:55 2022 +0100 (2022-02-16)
parents 133a372c698f
children 22350946c558
rev   line source
pankso@3603 1 # SliTaz package receipt.
pankso@3603 2
pankso@3603 3 PACKAGE="gsl"
Hans-G?nter@22885 4 VERSION="2.6"
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@21006 29 make $MAKEFLAGS -j 1 &&
Hans-G?nter@21006 30 make DESTDIR=$DESTDIR install
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 {
pankso@3603 36 mkdir -p $fs/usr/lib
Hans-G?nter@22885 37
Hans-G?nter@21006 38 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22885 39 rm $fs/usr/bin/*-config
Hans-G?nter@21006 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@3603 41 }