summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerhard Bräunlich <wippbox@gmx.net>2016-09-02 16:51:43 +0200
committerDavid Seifert <soap@gentoo.org>2016-09-02 22:09:22 +0200
commitefd46902fbb87c19b793f82839438525e70f2322 (patch)
tree7a449bf9a866ead17fd578c3ea0ff8515337dffa
parentsci-libs/cmpfit: revbump (EAPI 4 -> 6) (diff)
downloadgentoo-efd46902fbb87c19b793f82839438525e70f2322.tar.gz
gentoo-efd46902fbb87c19b793f82839438525e70f2322.tar.bz2
gentoo-efd46902fbb87c19b793f82839438525e70f2322.zip
sci-libs/cmpfit: Removed EAPI 4 ebuild cmpfit-1.2.ebuild
Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/2190 Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r--sci-libs/cmpfit/cmpfit-1.2.ebuild39
1 files changed, 0 insertions, 39 deletions
diff --git a/sci-libs/cmpfit/cmpfit-1.2.ebuild b/sci-libs/cmpfit/cmpfit-1.2.ebuild
deleted file mode 100644
index b0ed5d973a6..00000000000
--- a/sci-libs/cmpfit/cmpfit-1.2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit toolchain-funcs
-
-DESCRIPTION="MINPACK-1 Least Squares Fitting Library in C"
-HOMEPAGE="http://www.physics.wisc.edu/~craigm/idl/cmpfit.html"
-SRC_URI="http://www.physics.wisc.edu/~craigm/idl/down/${P}.tar.gz"
-
-LICENSE="public-domain minpack"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs"
-
-src_compile() {
- if use static-libs; then
- $(tc-getCC) ${CFLAGS} -c mpfit.c || die
- $(tc-getAR) cr mpfit.a mpfit.o || die
- fi
- $(tc-getCC) ${CFLAGS} -fPIC -c mpfit.c -o mpfit.so|| die "compilation failed"
- $(tc-getCC) ${LDFLAGS} -shared -Wl,-soname=libmpfit.so mpfit.so -lm -o libmpfit.so || die
-}
-
-src_test() {
- $(tc-getCC) ${CFLAGS} testmpfit.c -L. -lmpfit -lm -o testmpfit || die
- LD_LIBRARY_PATH=.:${LD_LIBRARY_PATH} ./testmpfit || die
-}
-
-src_install() {
- dolib.so libmpfit.so
- use static-libs && dolib.a libmpfit.a
- insinto /usr/include
- doins mpfit.h
-
- dodoc README DISCLAIMER
-}