Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/cmpfit/
Date: Fri, 02 Sep 2016 20:09:43
Message-Id: 1472846962.efd46902fbb87c19b793f82839438525e70f2322.soap@gentoo
1 commit: efd46902fbb87c19b793f82839438525e70f2322
2 Author: Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
3 AuthorDate: Fri Sep 2 14:51:43 2016 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 2 20:09:22 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd46902
7
8 sci-libs/cmpfit: Removed EAPI 4 ebuild cmpfit-1.2.ebuild
9
10 Package-Manager: portage-2.2.28
11 Closes: https://github.com/gentoo/gentoo/pull/2190
12
13 Signed-off-by: David Seifert <soap <AT> gentoo.org>
14
15 sci-libs/cmpfit/cmpfit-1.2.ebuild | 39 ---------------------------------------
16 1 file changed, 39 deletions(-)
17
18 diff --git a/sci-libs/cmpfit/cmpfit-1.2.ebuild b/sci-libs/cmpfit/cmpfit-1.2.ebuild
19 deleted file mode 100644
20 index b0ed5d9..00000000
21 --- a/sci-libs/cmpfit/cmpfit-1.2.ebuild
22 +++ /dev/null
23 @@ -1,39 +0,0 @@
24 -# Copyright 1999-2013 Gentoo Foundation
25 -# Distributed under the terms of the GNU General Public License v2
26 -# $Id$
27 -
28 -EAPI=4
29 -
30 -inherit toolchain-funcs
31 -
32 -DESCRIPTION="MINPACK-1 Least Squares Fitting Library in C"
33 -HOMEPAGE="http://www.physics.wisc.edu/~craigm/idl/cmpfit.html"
34 -SRC_URI="http://www.physics.wisc.edu/~craigm/idl/down/${P}.tar.gz"
35 -
36 -LICENSE="public-domain minpack"
37 -SLOT="0"
38 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
39 -IUSE="static-libs"
40 -
41 -src_compile() {
42 - if use static-libs; then
43 - $(tc-getCC) ${CFLAGS} -c mpfit.c || die
44 - $(tc-getAR) cr mpfit.a mpfit.o || die
45 - fi
46 - $(tc-getCC) ${CFLAGS} -fPIC -c mpfit.c -o mpfit.so|| die "compilation failed"
47 - $(tc-getCC) ${LDFLAGS} -shared -Wl,-soname=libmpfit.so mpfit.so -lm -o libmpfit.so || die
48 -}
49 -
50 -src_test() {
51 - $(tc-getCC) ${CFLAGS} testmpfit.c -L. -lmpfit -lm -o testmpfit || die
52 - LD_LIBRARY_PATH=.:${LD_LIBRARY_PATH} ./testmpfit || die
53 -}
54 -
55 -src_install() {
56 - dolib.so libmpfit.so
57 - use static-libs && dolib.a libmpfit.a
58 - insinto /usr/include
59 - doins mpfit.h
60 -
61 - dodoc README DISCLAIMER
62 -}