wok view gsl/receipt @ rev 10670
gnutls: separate libs and tools
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri May 27 10:24:21 2011 +0200 (2011-05-27) |
parents | e96b5bb3b663 |
children | 0052130130dd |
line source
1 # SliTaz package receipt.
3 PACKAGE="gsl"
4 VERSION="1.12"
5 CATEGORY="development"
6 SHORT_DESC="Numerical library for C and C++ programmers."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/gsl/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make -j 4 && make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/bin $fs/usr
29 rm $fs/usr/bin/*-config
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }