summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2004-01-11 08:19:20 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2004-01-11 08:19:20 +0000
commit52f1ec4c1d23e1dc5777065888438d66725b6615 (patch)
treebf8d798c7cc29cbce7e7ffbe5a0dde3c3d736aca /dev-util/sgb
parentclose bug #36828 with sj7trunks@gentoo.org's new stuff, including adding him ... (diff)
downloadgentoo-2-52f1ec4c1d23e1dc5777065888438d66725b6615.tar.gz
gentoo-2-52f1ec4c1d23e1dc5777065888438d66725b6615.tar.bz2
gentoo-2-52f1ec4c1d23e1dc5777065888438d66725b6615.zip
initial commit, ebuild by robbat2@gentoo.org
Diffstat (limited to 'dev-util/sgb')
-rw-r--r--dev-util/sgb/ChangeLog9
-rw-r--r--dev-util/sgb/Manifest2
-rw-r--r--dev-util/sgb/files/digest-sgb-200306231
-rw-r--r--dev-util/sgb/sgb-20030623.ebuild45
4 files changed, 57 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..29fe258f4f60
--- /dev/null
+++ b/dev-util/sgb/Manifest
@@ -0,0 +1,2 @@
+MD5 ec85c40c5e895fc44467327f81023d4e sgb-20030623.ebuild 1317
+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
+
+}