From: "Sebastien Fabbro" <bicatali@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/lrslib/
Date: Mon, 31 Jul 2017 18:12:42 +0000 (UTC) [thread overview]
Message-ID: <1501524742.54a4656a8680ceec8131b16f339942ed3aa10701.bicatali@gentoo> (raw)
commit: 54a4656a8680ceec8131b16f339942ed3aa10701
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 30 00:41:43 2017 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Mon Jul 31 18:12:22 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54a4656a
sci-libs/lrslib: version bump
Package-Manager: Portage-2.3.6, Repoman-2.3.3
sci-libs/lrslib/Manifest | 1 +
sci-libs/lrslib/lrslib-062.ebuild | 51 +++++++++++++++++++++++++++++++++++++++
2 files changed, 52 insertions(+)
diff --git a/sci-libs/lrslib/Manifest b/sci-libs/lrslib/Manifest
index ac64bbeb173..4e603582478 100644
--- a/sci-libs/lrslib/Manifest
+++ b/sci-libs/lrslib/Manifest
@@ -1,2 +1,3 @@
DIST lrslib-042c.tar.gz 168765 SHA256 53f99b5271397bb5f317c96fa365edc1ac71fa7cba0295c8bd79e0882f5c3a4a SHA512 a5fdd65b2c4e4cadd5fb9679e0e94ddc6b3564cdb9bdfcb7304351fec943527d2dccf117148d8d418ad8bd4577c9f69dabd6ca07107c1c1555c8c6d17f38fa60 WHIRLPOOL 4c3c1d5a72f8ac91e3d6698a8409578f5c0a940562704adea6631e5f9fb738a24414806a4d4b3aedf4e32de49a8c09ec74058baef61e121ce54db7ef5d2f5c01
DIST lrslib-051.tar.gz 179396 SHA256 500893df61631944bac14a76c6e13fc08e6e729727443fa5480b2510de0db635 SHA512 65e4752ae75f06bccb74b0e12e0b03943654cba048d54dbcf93a36bea7f73b32826babe066d5fe20d3c6609548dc957063558633affe64d795c240c1fe748927 WHIRLPOOL 54877f0432fef43989b5d7591cef6692dbb555fb0ccb8a634b82eefb06a20d478bbb1a62b2ef241c8cda74328da29bcbcdcf8031640d1e0455a1e57bf839125e
+DIST lrslib-062.tar.gz 292745 SHA256 adf92f9c7e70c001340b9c28f414208d49c581df46b550f56ab9a360348e4f09 SHA512 1d644a7798580457ff266730f42f6fac317ec8cdf2509ad6028e7a838e5c4c948bd0f9499b840c227bad4269f7144ff72b87fe3a19bdb9ad0925ebe4a7bc4f9f WHIRLPOOL b1deb2df5f0dc73112e94c85789ef68056c6f62de2a6681f28efde65b4cec1c3d20fa93943fbdb70d458d706872ef04744ba8a1f322a33cd14c7ac570b259037
diff --git a/sci-libs/lrslib/lrslib-062.ebuild b/sci-libs/lrslib/lrslib-062.ebuild
new file mode 100644
index 00000000000..05e16755b17
--- /dev/null
+++ b/sci-libs/lrslib/lrslib-062.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="Self-contained 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/archive/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="gmp mpi"
+
+RDEPEND="gmp? ( dev-libs/gmp:0=
+ mpi? ( virtual/mpi ) )"
+DEPEND="${RDEPEND}"
+
+
+src_prepare(){
+ default
+ tc-export CC
+ sed -e "s/gcc/$(tc-getCC)/g" \
+ -e "s/g++/$(tc-getCXX)/g" \
+ -e "s/-O3/${CFLAGS}/g" \
+ -e 's/$(CC) -shared/$(CC) $(LDFLAGS) -shared/' \
+ -e "s,/usr/local,${EPREFIX}/usr,g" \
+ -e "s,/lib,/$(get_libdir),g" \
+ -i makefile || die
+}
+
+src_compile () {
+ if use gmp ; then
+ emake
+ emake all-shared
+ use mpi && emake mplrs
+ else
+ emake allmp
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" prefix="${EPREFIX}" install-common
+ if use gmp; then
+ emake DESTDIR="${D}" install-shared prefix="${EPREFIX}"
+ use mpi && dobin mplrs
+ fi
+ dodoc README
+}
next reply other threads:[~2017-07-31 18:12 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-31 18:12 Sebastien Fabbro [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-05 12:29 [gentoo-commits] repo/gentoo:master commit in: sci-libs/lrslib/ Sam James
2024-10-27 2:38 Michael Orlitzky
2024-10-27 2:38 Michael Orlitzky
2021-12-29 13:46 Yixun Lan
2021-12-05 4:00 Sam James
2021-11-06 1:01 Michael Orlitzky
2021-11-01 0:21 Michael Orlitzky
2021-10-23 13:51 Sam James
2021-10-23 0:17 Michael Orlitzky
2021-01-27 6:58 Sam James
2021-01-12 10:49 David Seifert
2020-01-03 19:08 Andreas Sturmlechner
2020-01-03 14:30 Agostino Sarubbo
2020-01-01 15:30 Agostino Sarubbo
2018-06-01 14:05 Aaron Bauman
2017-07-31 18:12 Sebastien Fabbro
2016-03-02 19:28 Markus Meier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1501524742.54a4656a8680ceec8131b16f339942ed3aa10701.bicatali@gentoo \
--to=bicatali@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox