wok annotate gsl/receipt @ rev 20248
Up alsa (1.1.5) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 15:28:31 2018 +0100 (2018-03-12) |
parents | 8e4c74abdf74 |
children | 617057b68bbf |
rev | line source |
---|---|
pankso@3603 | 1 # SliTaz package receipt. |
pankso@3603 | 2 |
pankso@3603 | 3 PACKAGE="gsl" |
slaxemulator@11026 | 4 VERSION="1.15" |
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" |
pankso@3603 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@3603 | 10 WEB_SITE="http://www.gnu.org/software/gsl/" |
pankso@3603 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@3603 | 12 |
pankso@3603 | 13 # Rules to configure and make the package. |
pankso@3603 | 14 compile_rules() |
pankso@3603 | 15 { |
pankso@3603 | 16 cd $src |
pankso@3603 | 17 ./configure \ |
pankso@3603 | 18 --prefix=/usr \ |
pankso@3603 | 19 --infodir=/usr/share/info \ |
pankso@3603 | 20 --mandir=/usr/share/man \ |
pankso@3603 | 21 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 22 make $MAKEFLAGS && make DESTDIR=$DESTDIR install |
pankso@3603 | 23 } |
pankso@3603 | 24 |
pankso@3603 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3603 | 26 genpkg_rules() |
pankso@3603 | 27 { |
pankso@3603 | 28 mkdir -p $fs/usr/lib |
pascal@15589 | 29 cp -a $install/usr/bin $fs/usr |
pankso@3603 | 30 rm $fs/usr/bin/*-config |
pascal@15589 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@3603 | 32 } |