summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-01-03 19:46:37 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-01-03 19:53:37 +0100
commita59687d166c949d5a50e59f7292a7f8327d1b2da (patch)
tree4e382ba34c31aeba1aa294bbf2a190341651c96d /sci-libs/lrslib/lrslib-042c-r2.ebuild
parentsci-libs/pgplot: Drop 5.2.2-r6 (diff)
downloadgentoo-a59687d166c949d5a50e59f7292a7f8327d1b2da.tar.gz
gentoo-a59687d166c949d5a50e59f7292a7f8327d1b2da.tar.bz2
gentoo-a59687d166c949d5a50e59f7292a7f8327d1b2da.zip
sci-libs/lrslib: Drop 042c-r2 and 051
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-libs/lrslib/lrslib-042c-r2.ebuild')
-rw-r--r--sci-libs/lrslib/lrslib-042c-r2.ebuild60
1 files changed, 0 insertions, 60 deletions
diff --git a/sci-libs/lrslib/lrslib-042c-r2.ebuild b/sci-libs/lrslib/lrslib-042c-r2.ebuild
deleted file mode 100644
index 8fafdff0cba2..000000000000
--- a/sci-libs/lrslib/lrslib-042c-r2.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit toolchain-funcs
-
-DESCRIPTION="self-contained ANSI C implementation of the reverse search algorithm"
-HOMEPAGE="http://cgm.cs.mcgill.ca/~avis/C/lrs.html"
-SRC_URI="http://cgm.cs.mcgill.ca/~avis/C/lrslib/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="gmp"
-
-DEPEND="gmp? ( dev-libs/gmp )"
-RDEPEND="${DEPEND}"
-
-src_prepare(){
- sed -i "s/gcc/$(tc-getCC)/g" makefile || die
- sed -i "s/-O3/${CFLAGS} ${LDFLAGS}/g" makefile || die
- # We don't like static linking to gmp or anywhere.
- if use amd64 ; then
- # This macro may only change messages that the
- # binary outputs, but just in case... (Bug 384195)
- sed -i "s/-static/-DB64/g" makefile || die
- else
- sed -i "s/-static//g" makefile || die
- fi
-}
-
-src_compile () {
- if use amd64 ; then
- emake all64
- else
- emake
- fi
- if use gmp ; then
- emake gmp
- fi
-}
-
-src_install() {
- dobin lrs redund redund1
- # Collides with sys-block/buffer
- newbin buffer lrsbuffer
- if use x86; then
- dobin nash setupnash setupnash2 2nash
- # Prevent clash with cddlib:
- newbin fourier lrsfourier
- fi
- if use gmp; then
- dobin glrs gredund gfourier
- # Clash with www-plugins/gnash
- newbin gnash lrsgnash
- fi
- dodoc readme
- dohtml lrslib.html
-}