wok-current view gsl/receipt @ rev 24620
updated gputils (1.5.0.1 -> 1.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 10:52:24 2022 +0100 (2022-03-07) |
parents | 133a372c698f |
children | 22350946c558 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gsl"
4 VERSION="2.6"
5 CATEGORY="development"
6 SHORT_DESC="Numerical library for C and C++ programmers."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/gsl/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
18 sed "/$PACKAGE-/!d;/tar/!d;/latest/d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make $MAKEFLAGS -j 1 &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 rm $fs/usr/bin/*-config
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }