wok annotate gsl/receipt @ rev 14930
Up: eet (1.7.8)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 19:15:34 2013 +0200 (2013-08-08) |
parents | 0052130130dd |
children | d1c17bd2c2bc |
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" |
pankso@3603 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@3603 | 9 WEB_SITE="http://www.gnu.org/software/gsl/" |
pankso@3603 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@3603 | 11 |
pankso@3603 | 12 # Rules to configure and make the package. |
pankso@3603 | 13 compile_rules() |
pankso@3603 | 14 { |
pankso@3603 | 15 cd $src |
pankso@3603 | 16 ./configure \ |
pankso@3603 | 17 --prefix=/usr \ |
pankso@3603 | 18 --infodir=/usr/share/info \ |
pankso@3603 | 19 --mandir=/usr/share/man \ |
pankso@3603 | 20 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 21 make $MAKEFLAGS && make DESTDIR=$DESTDIR install |
pankso@3603 | 22 } |
pankso@3603 | 23 |
pankso@3603 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3603 | 25 genpkg_rules() |
pankso@3603 | 26 { |
pankso@3603 | 27 mkdir -p $fs/usr/lib |
pankso@3603 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@3603 | 29 rm $fs/usr/bin/*-config |
pankso@3603 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@3603 | 31 } |