blob: fd13084e59894e25fe92a43b31f35fab3acb8ef3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Tod Neidt <tneidt@fidnet.com>
# /home/cvsroot/gentoo-x86/skel.build,v 1.7 2001/08/25 21:15:08 chadh Exp
S=${WORKDIR}/${P}
DESCRIPTION="The GNU Scientific Library"
SRC_URI="http://mirrors.rcn.net/pub/sourceware/gsl/${P}.tar.gz"
HOMEPAGE="http://sources.redhat.com/gsl/"
DEPEND="virtual/glibc"
#RDEPEND=""
src_compile() {
#Avoid locking (can break parallel builds)
local myconf
myconf="--disable-libtool-lock"
./configure --infodir=/usr/share/info \
--mandir=/usr/share/man \
--prefix=/usr \
--host=${CHOST} \
${myconf} || die
emake || die
#Uncomment the 'make check ...' line if you want to run the test suite.
#Note that the check.log file will be several megabytes in size.
# make check > check.log 2>&1 || die
}
src_install () {
make prefix=${D}/usr \
infodir=${D}/usr/share/info \
mandir=${D}/usr/share/man \
install || die
dodoc AUTHORS COPYING ChangeLog INSTALL KNOWN-PROBLEMS MACHINES NEWS
}
|