diff options
Diffstat (limited to 'sci-misc/gt-itm')
-rw-r--r-- | sci-misc/gt-itm/ChangeLog | 18 | ||||
-rw-r--r-- | sci-misc/gt-itm/Manifest | 4 | ||||
-rw-r--r-- | sci-misc/gt-itm/files/digest-gt-itm-19961004 | 2 | ||||
-rw-r--r-- | sci-misc/gt-itm/gt-itm-19961004.ebuild | 56 | ||||
-rw-r--r-- | sci-misc/gt-itm/metadata.xml | 5 |
5 files changed, 85 insertions, 0 deletions
diff --git a/sci-misc/gt-itm/ChangeLog b/sci-misc/gt-itm/ChangeLog new file mode 100644 index 000000000000..075194a0f2ea --- /dev/null +++ b/sci-misc/gt-itm/ChangeLog @@ -0,0 +1,18 @@ +# ChangeLog for app-sci/gt-itm +# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/gt-itm/ChangeLog,v 1.1 2004/12/27 21:03:43 ribosome Exp $ + +*gt-itm-19961004 (27 Dec 2004) + + 27 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml, + +gt-itm-19961004.ebuild: + Moved from app-sci/gt-itm to sci-misc/gt-itm. + + 24 May 2004; Michael Sterrett <mr_bones_@gentoo.org> gt-itm-19961004.ebuild: + fix DESCRIPTION - Peter Jensen (bug #51382) + +*gt-itm-19961004 (11 Jan 2004) + + 11 Jan 2004; Robin H. Johnson <robbat2@gentoo.org> gt-itm-19961004.ebuild: + initial commit, ebuild by robbat2@gentoo.org + diff --git a/sci-misc/gt-itm/Manifest b/sci-misc/gt-itm/Manifest new file mode 100644 index 000000000000..95d9bcf31a03 --- /dev/null +++ b/sci-misc/gt-itm/Manifest @@ -0,0 +1,4 @@ +MD5 7af5b78ed8cb2f9efb4a4300ec15791d gt-itm-19961004.ebuild 1565 +MD5 6c44ec9562d3fb7712f55d4519ee4c57 ChangeLog 486 +MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 +MD5 5c1ad0b3ff1ba798a44200ef26d120d9 files/digest-gt-itm-19961004 115 diff --git a/sci-misc/gt-itm/files/digest-gt-itm-19961004 b/sci-misc/gt-itm/files/digest-gt-itm-19961004 new file mode 100644 index 000000000000..0da834b07b08 --- /dev/null +++ b/sci-misc/gt-itm/files/digest-gt-itm-19961004 @@ -0,0 +1,2 @@ +MD5 4d36b0b3ffa1c8c1b4d9e5b49cfa34cd gt-itm.tar.gz 623345 +MD5 4b44dc6adbeff7a9c5e13ade0b7db90d sgb2ns.tar.gz 50635 diff --git a/sci-misc/gt-itm/gt-itm-19961004.ebuild b/sci-misc/gt-itm/gt-itm-19961004.ebuild new file mode 100644 index 000000000000..da19bb4909f1 --- /dev/null +++ b/sci-misc/gt-itm/gt-itm-19961004.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/gt-itm/gt-itm-19961004.ebuild,v 1.1 2004/12/27 21:03:43 ribosome Exp $ + +DESCRIPTION="A collection of routines to generate and analyze graphs using a wide variety of models for internetwork topology" +HOMEPAGE="http://www.cc.gatech.edu/fac/Ellen.Zegura/graphs.html + http://www.isi.edu/nsnam/ns/ns-topogen.html#gt-itm" +SRC_URI="http://www.cc.gatech.edu/fac/Ellen.Zegura/gt-itm/gt-itm.tar.gz + http://www.isi.edu/nsnam/dist/sgb2ns.tar.gz" + +LICENSE="as-is BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="dev-util/sgb" +S="${WORKDIR}/${PN}" +S2="${WORKDIR}/sgb2ns" + +src_unpack() { + unpack sgb2ns.tar.gz + + mkdir ${S} + cd ${S} + unpack gt-itm.tar.gz + + sed -r -e '/^[[:alnum:]]+\.o:/d' -e 's|LIBS = -lm -lgb.*|LIBS = -lm -lgb|' -i ${S}/src/Makefile + sed -r -e '/^SYS = -DSYSV/d' -e 's|LIBS = -lm -lgb.*|LIBS = -lm -lgb|' -i ${S2}/Makefile || die + + rm -f ${S}/lib/* + + find ${S}/sample-graphs/ -perm +111 -type f -name 'Run*' \ + | xargs -r -n1 sed -re 's|(\.\./)+bin/||g' -i || die + + sed -e 's|sys/types.h|sys/param.h|' -i ${S}/src/geog.c + sed -e '162 s/connected $/connected \\/' -i ${S}/src/eval.c +} + +src_compile() { + cd ${S}/src + emake CFLAGS="${CFLAGS} -I../include" || die + + cd ${S2} + emake CFLAGS="${CFLAGS} -I\$(IDIR) -L\$(LDIR)" || die +} + +src_install() { + dobin ${S}/bin/* + dodoc ${S}/README ${S}/docs/* + cp -ra ${S}/sample-graphs ${D}/usr/share/doc/${PF} + + cd ${S2} + dodoc *.tcl *.gb + newdoc README README.sgb2ns + +} diff --git a/sci-misc/gt-itm/metadata.xml b/sci-misc/gt-itm/metadata.xml new file mode 100644 index 000000000000..b229aec85b8f --- /dev/null +++ b/sci-misc/gt-itm/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +</pkgmetadata> |