Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/lrslib/
Date: Fri, 01 Jun 2018 14:05:31
Message-Id: 1527861915.adffe0903316eba34dc4aee3e5c61f2d2d09be91.bman@gentoo
1 commit: adffe0903316eba34dc4aee3e5c61f2d2d09be91
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 31 21:32:54 2018 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 1 14:05:15 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adffe090
7
8 sci-libs/lrslib: drop EAPI=2 ebuild
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 sci-libs/lrslib/lrslib-042c-r1.ebuild | 52 -----------------------------------
13 1 file changed, 52 deletions(-)
14
15 diff --git a/sci-libs/lrslib/lrslib-042c-r1.ebuild b/sci-libs/lrslib/lrslib-042c-r1.ebuild
16 deleted file mode 100644
17 index b1fba3a5f34..00000000000
18 --- a/sci-libs/lrslib/lrslib-042c-r1.ebuild
19 +++ /dev/null
20 @@ -1,52 +0,0 @@
21 -# Copyright 1999-2011 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=2
25 -
26 -inherit toolchain-funcs
27 -
28 -DESCRIPTION="self-contained ANSI C implementation of the reverse search algorithm"
29 -HOMEPAGE="http://cgm.cs.mcgill.ca/~avis/C/lrs.html"
30 -SRC_URI="http://cgm.cs.mcgill.ca/~avis/C/lrslib/${P}.tar.gz"
31 -
32 -LICENSE="GPL-2"
33 -SLOT="0"
34 -KEYWORDS="amd64 x86"
35 -IUSE="gmp"
36 -
37 -DEPEND="gmp? ( dev-libs/gmp )"
38 -RDEPEND="${DEPEND}"
39 -
40 -src_prepare(){
41 - sed -i "s/gcc/$(tc-getCC)/g" makefile || die
42 - sed -i "s/-O3/${CFLAGS} ${LDFLAGS}/g" makefile || die
43 -}
44 -
45 -src_compile () {
46 - if use amd64 ; then
47 - emake all64 || die "make failed"
48 - else
49 - emake || die "make failed"
50 - fi
51 - if use gmp ; then
52 - emake gmp || die "make failed"
53 - fi
54 -}
55 -
56 -src_install() {
57 - dobin lrs redund redund1 || die
58 - # Collides with sys-block/buffer
59 - newbin buffer lrsbuffer || die
60 - if use x86; then
61 - dobin nash setupnash setupnash2 2nash || die
62 - # Prevent clash with cddlib:
63 - newbin fourier lrsfourier || die
64 - fi
65 - if use gmp; then
66 - dobin glrs gredund gfourier || die
67 - # Clash with www-plugins/gnash
68 - newbin gnash lrsgnash || die
69 - fi
70 - dodoc readme || die
71 - dohtml lrslib.html || die
72 -}