wok-current view gsl/receipt @ rev 25728

Merge wok for both arch and few updates
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 08:39:45 2024 +0000 (2 months ago)
parents 22350946c558
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gsl"
4 VERSION="2.7.1"
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 HOST_ARCH="i486 x86_64"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/$PACKAGE-/!d;/tar/!d;/latest/d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make $MAKEFLAGS &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders bin
39 rm $fs/usr/bin/*-config
40 cook_copy_files *.so*
41 }