wok-6.x view gsl/receipt @ rev 24823

updated libsdl2 and libsdl2-dev (2.0.12 -> 2.0.20)
author Hans-G?nter Theisgen
date Wed Mar 23 16:41:04 2022 +0100 (2022-03-23)
parents 17091bc7c301
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 # 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 &&
30 make install DESTDIR=$DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_folders bin
37 rm $fs/usr/bin/*-config
38 cook_copy_files *.so*
39 }