diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2004-01-11 08:19:20 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2004-01-11 08:19:20 +0000 |
commit | 52f1ec4c1d23e1dc5777065888438d66725b6615 (patch) | |
tree | bf8d798c7cc29cbce7e7ffbe5a0dde3c3d736aca /dev-util/sgb/sgb-20030623.ebuild | |
parent | close bug #36828 with sj7trunks@gentoo.org's new stuff, including adding him ... (diff) | |
download | gentoo-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/sgb-20030623.ebuild')
-rw-r--r-- | dev-util/sgb/sgb-20030623.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
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 + +} |