summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/sgb/ChangeLog9
-rw-r--r--dev-util/sgb/Manifest3
-rw-r--r--dev-util/sgb/files/digest-sgb-200306231
-rw-r--r--dev-util/sgb/sgb-20030623.ebuild45
4 files changed, 58 insertions, 0 deletions
diff --git a/dev-util/sgb/ChangeLog b/dev-util/sgb/ChangeLog
new file mode 100644
index 000000000000..1763d5d13b69
--- /dev/null
+++ b/dev-util/sgb/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-util/sgb
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/sgb/ChangeLog,v 1.1 2004/01/11 08:19:20 robbat2 Exp $
+
+*sgb-20030623 (11 Jan 2004)
+
+ 11 Jan 2004; Robin H. Johnson <robbat2@gentoo.org> sgb-20030623.ebuild:
+ initial commit, ebuild by robbat2@gentoo.org
+
diff --git a/dev-util/sgb/Manifest b/dev-util/sgb/Manifest
new file mode 100644
index 000000000000..1ee195fa9bcf
--- /dev/null
+++ b/dev-util/sgb/Manifest
@@ -0,0 +1,3 @@
+MD5 e21073ac18502e79707b476fa1d1f92c sgb-20030623.ebuild 1177
+MD5 f3e8b0a15d22bd9c00f67bf44e6e93d4 ChangeLog 357
+MD5 8319ea7371d0a280bef12c5ebe5e2377 files/digest-sgb-20030623 66
diff --git a/dev-util/sgb/files/digest-sgb-20030623 b/dev-util/sgb/files/digest-sgb-20030623
new file mode 100644
index 000000000000..c527b690c09d
--- /dev/null
+++ b/dev-util/sgb/files/digest-sgb-20030623
@@ -0,0 +1 @@
+MD5 f0e62655aa77b032ea61a13e3deb1c10 sgb-2003-06-23.tar.gz 493974
diff --git a/dev-util/sgb/sgb-20030623.ebuild b/dev-util/sgb/sgb-20030623.ebuild
new file mode 100644
index 000000000000..97dda1d6cb96
--- /dev/null
+++ b/dev-util/sgb/sgb-20030623.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/sgb/sgb-20030623.ebuild,v 1.1 2004/01/11 08:19:20 robbat2 Exp $
+
+DESCRIPTION="Stanford GraphBase"
+HOMEPAGE="ftp://labrea.stanford.edu/pub/sgb/"
+SRC_URI="ftp://labrea.stanford.edu/pub/sgb/sgb-${PV:0:4}-${PV:4:2}-${PV:6:2}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=">=dev-util/cweb-3.00"
+S=${WORKDIR}/${P}
+
+src_unpack() {
+ mkdir ${S}
+ cd ${S}
+ unpack ${A}
+ echo >>Makefile
+ echo 'demos: $(DEMOS)' >>Makefile
+}
+
+src_compile() {
+ emake SGBDIR=/usr/share/${PN} \
+ INCLUDEDIR=/usr/include/sgb \
+ LIBDIR=/usr/lib \
+ BINDIR=/usr/bin \
+ CWEBINPUTS=/usr/share/${PN}/cweb \
+ CFLAGS="${CFLAGS}" tests lib demos
+}
+
+src_install() {
+ dodir /usr/share/${PN} /usr/include/sgb /usr/lib /usr/bin /usr/share/${PN}/cweb
+ emake SGBDIR=${D}/usr/share/${PN} \
+ INCLUDEDIR=${D}/usr/include/sgb \
+ LIBDIR=${D}/usr/lib \
+ BINDIR=${D}/usr/bin \
+ CWEBINPUTS=${D}/usr/share/${PN}/cweb \
+ CFLAGS="${CFLAGS}" install installdata installdemos
+ # we don't need no makefile
+ rm ${D}/usr/include/sgb/Makefile
+
+ dodoc ERRATA README
+
+}