wok-6.x annotate gsl/receipt @ rev 22885
updated gsl and gsl-dev (2.5 -> 2.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 22 16:56:40 2020 +0100 (2020-02-22) |
parents | 617057b68bbf |
children | 17091bc7c301 |
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 |
pankso@3603 | 14 # Rules to configure and make the package. |
pankso@3603 | 15 compile_rules() |
pankso@3603 | 16 { |
Hans-G?nter@21006 | 17 ./configure \ |
Hans-G?nter@21006 | 18 --prefix=/usr \ |
Hans-G?nter@21006 | 19 --infodir=/usr/share/info \ |
Hans-G?nter@21006 | 20 --mandir=/usr/share/man \ |
pankso@3603 | 21 $CONFIGURE_ARGS && |
Hans-G?nter@21006 | 22 make $MAKEFLAGS -j 1 && |
Hans-G?nter@21006 | 23 make DESTDIR=$DESTDIR install |
pankso@3603 | 24 } |
pankso@3603 | 25 |
pankso@3603 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3603 | 27 genpkg_rules() |
pankso@3603 | 28 { |
pankso@3603 | 29 mkdir -p $fs/usr/lib |
Hans-G?nter@22885 | 30 |
Hans-G?nter@21006 | 31 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22885 | 32 rm $fs/usr/bin/*-config |
Hans-G?nter@21006 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@3603 | 34 } |