wok view gsl/receipt @ rev 18859

Up 1.0v to 1.0.1v
author Leonardo Laporte <hackdorte@sapo.pt>
date Wed Jan 27 06:07:29 2016 +0000 (2016-01-27)
parents 8e4c74abdf74
children 617057b68bbf
line source
1 # SliTaz package receipt.
3 PACKAGE="gsl"
4 VERSION="1.15"
5 CATEGORY="development"
6 SHORT_DESC="Numerical library for C and C++ programmers."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/gsl/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make $MAKEFLAGS && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/bin $fs/usr
30 rm $fs/usr/bin/*-config
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }