summaryrefslogtreecommitdiff
blob: df00c997eb5c10e22a9f33d4bcc3e475ece1a6f0 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/ccmath/ccmath-2.2.1.ebuild,v 1.4 2003/09/08 07:19:26 msterret Exp $

IUSE=""

S=${WORKDIR}/${P}
DESCRIPTION="CCMATH is a mathematics library, coded in C, that contains functions for linear algebra, numerical integration,
	geometry and trigonometry, curve fitting, roots and optimization, Fourier analysis, simulation generation, statistics,
	special functions, sorts and searches, time series models, complex arithmetic, and high precision computations."

SRC_URI="http://www.ibiblio.org/pub/Linux/libs/${P}.tar.gz"
HOMEPAGE="http://freshmeat.net/projects/ccmath/"

SLOT="0"
LICENSE="LGPL-2.1"
KEYWORDS="x86 ~ppc sparc"

DEPEND="virtual/glibc"

src_compile() {

	yes | ./makelibs.sh

}

src_install() {

	dolib.so tmp/libccm.so
	dolib.a tmp/libccm.a
	insinto /usr/include
	doins ccmath.h
	dodoc CHANGES INSTALL README manual/*

}