wok annotate gsl/receipt @ rev 21875
gc: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 28 16:04:52 2019 +0200 (2019-09-28) |
parents | d1c17bd2c2bc |
children | 133a372c698f |
rev | line source |
---|---|
pankso@3603 | 1 # SliTaz package receipt. |
pankso@3603 | 2 |
pankso@3603 | 3 PACKAGE="gsl" |
Hans-G?nter@21006 | 4 VERSION="2.5" |
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@21006 | 30 cp -a $install/usr/bin $fs/usr |
pankso@3603 | 31 rm $fs/usr/bin/*-config |
Hans-G?nter@21006 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@3603 | 33 } |