From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/sgb/
Date: Sun, 5 Apr 2020 21:58:51 +0000 (UTC) [thread overview]
Message-ID: <1586123926.a4dfc3e3d731d1ff1a726bd688c980a92764547a.robbat2@gentoo> (raw)
commit: a4dfc3e3d731d1ff1a726bd688c980a92764547a
Author: Wim Muskee <wimmuskee <AT> gmail <DOT> com>
AuthorDate: Sat Dec 28 08:58:50 2019 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Apr 5 21:58:46 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4dfc3e3
dev-util/sgb: version bump to 20090810
Closes: https://github.com/gentoo/gentoo/pull/14147
Signed-off-by: Wim Muskee <wimmuskee <AT> gmail.com>
(cherry picked from commit 935d69960bce72c661612f655f75f55b9133171d)
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
dev-util/sgb/Manifest | 1 +
dev-util/sgb/sgb-20090810.ebuild | 59 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
diff --git a/dev-util/sgb/Manifest b/dev-util/sgb/Manifest
index 57f912e45c5..6a5b32d3061 100644
--- a/dev-util/sgb/Manifest
+++ b/dev-util/sgb/Manifest
@@ -1 +1,2 @@
DIST sgb-2003-06-23.tar.gz 493974 BLAKE2B b4cf4e1fd9f2aba35937865d2c2075e206eabda9f56e7f5b844be8bd4684b2a220bb1d449f0b0ed431fd2603b92aaf0cfa0a7e88015e7870638b3d69cab7288f SHA512 f486317dd85dc11761c970ab2bc0c9193f8dd3fa0d114528e1b55fd935fa9cce9266dc595b2ebe3526214ce3e6a1b3dc747382b32cbfd518ffb6179d3463e874
+DIST sgb-2009-08-10.tar.gz 496678 BLAKE2B 48c780259fee240e9739166a52972c4f3a37dc44d98a503b1df63aecec553a05888e11a01b8cf40c8a853f7416ce3118109aa6ce5db15fbfed1abbee552735ce SHA512 39afaaaeda9b1e2b0ecd56d8d0fee59754ee9340c497c9bd28aa19f039be605aef6c492969082c230840ca1619de3cb81ba3a38d4d7b6fdac6f19b658d4c01e2
diff --git a/dev-util/sgb/sgb-20090810.ebuild b/dev-util/sgb/sgb-20090810.ebuild
new file mode 100644
index 00000000000..4f6d61def77
--- /dev/null
+++ b/dev-util/sgb/sgb-20090810.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Stanford GraphBase"
+HOMEPAGE="http://ftp.cs.stanford.edu/pub/sgb/"
+SRC_URI="http://ftp.cs.stanford.edu/pub/sgb/sgb-${PV:0:4}-${PV:4:2}-${PV:6:2}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="virtual/tex-base"
+
+S="${WORKDIR}"
+
+PATCHES=(
+ "${FILESDIR}"/sgb-20030623-parallel-make-fix.patch
+ "${FILESDIR}"/sgb-20030623-destdir.patch
+)
+
+src_compile() {
+ local vars=(
+ CFLAGS="${CFLAGS}"
+ SGBDIR=/usr/share/${PN}
+ INCLUDEDIR=/usr/include/sgb
+ LIBDIR=/usr/$(get_libdir)
+ BINDIR=/usr/bin
+ #CWEBINPUTS=/usr/share/${PN}/cweb
+ #LDFLAGS="${LDFLAGS}"
+ )
+ # bug #299028
+ emake -j1 "${vars[@]}" lib demos tests
+}
+
+src_test() {
+ emake tests
+}
+
+src_install() {
+ local vars=(
+ SGBDIR=/usr/share/${PN}
+ INCLUDEDIR=/usr/include/sgb
+ LIBDIR=/usr/$(get_libdir)
+ BINDIR=/usr/bin
+ CFLAGS="${CFLAGS}"
+ # TODO: why are they commented out above?
+ LDFLAGS="${LDFLAGS}"
+ CWEBINPUTS=/usr/share/${PN}/cweb
+ )
+ emake DESTDIR="${D}" "${vars[@]}" install
+
+ # we don't need no makefile
+ rm "${D}"/usr/include/sgb/Makefile || die
+
+ dodoc ERRATA README
+}
next reply other threads:[~2020-04-05 21:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-05 21:58 Robin H. Johnson [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-10-24 19:26 [gentoo-commits] repo/gentoo:master commit in: dev-util/sgb/ Sam James
2020-04-05 21:58 Robin H. Johnson
2019-11-09 11:45 Michał Górny
2018-08-26 11:01 Michał Górny
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=1586123926.a4dfc3e3d731d1ff1a726bd688c980a92764547a.robbat2@gentoo \
--to=robbat2@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