summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-09-28 22:00:09 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-09-28 22:00:09 +0000
commit1fea320ea75975a0ea95d46f1b8296cd320192f0 (patch)
treecb6d53fe91ffb1b08a965c7b42381151b1d1381b /sci-misc/gt-itm
parentAdd amd64 keyword. (diff)
downloadhistorical-1fea320ea75975a0ea95d46f1b8296cd320192f0.tar.gz
historical-1fea320ea75975a0ea95d46f1b8296cd320192f0.tar.bz2
historical-1fea320ea75975a0ea95d46f1b8296cd320192f0.zip
Fixup to more modern standards, and confirmed to build against amd64 as well.
Package-Manager: portage-2.2_rc40/cvs/Linux x86_64
Diffstat (limited to 'sci-misc/gt-itm')
-rw-r--r--sci-misc/gt-itm/ChangeLog8
-rw-r--r--sci-misc/gt-itm/Manifest4
-rw-r--r--sci-misc/gt-itm/gt-itm-19961004.ebuild32
3 files changed, 24 insertions, 20 deletions
diff --git a/sci-misc/gt-itm/ChangeLog b/sci-misc/gt-itm/ChangeLog
index e021c395ce37..2fef47c78957 100644
--- a/sci-misc/gt-itm/ChangeLog
+++ b/sci-misc/gt-itm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-misc/gt-itm
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/gt-itm/ChangeLog,v 1.4 2007/02/09 05:26:57 flameeyes Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/gt-itm/ChangeLog,v 1.5 2009/09/28 22:00:09 robbat2 Exp $
+
+ 28 Sep 2009; Robin H. Johnson <robbat2@gentoo.org> gt-itm-19961004.ebuild:
+ Fixup to more modern standards, and confirmed to build against amd64 as
+ well.
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/sci-misc/gt-itm/Manifest b/sci-misc/gt-itm/Manifest
index 6e28681afeeb..0c6069656d10 100644
--- a/sci-misc/gt-itm/Manifest
+++ b/sci-misc/gt-itm/Manifest
@@ -1,5 +1,5 @@
DIST gt-itm.tar.gz 623345 RMD160 0a7cbdfce185ab4bc2c73b78f290e8a831dc04e2 SHA1 1e52ee9c9d6e3ef09ac39c860d1cd829cf3c6e4e SHA256 0719947bb6e3a82d0054b6d4c74f5b3615c5583d326c32e11a848dcfed861538
DIST sgb2ns.tar.gz 50635 RMD160 7d9bca35f62a232f5477483006be9f43ad31df9b SHA1 02ab011e0627d5b15b7363c34f63f0dbeb9f8ffa SHA256 902f1a3d1a57e87387dd3bd22b8fda7c1ee2830f87fa468ab775aa8feb2a22cb
-EBUILD gt-itm-19961004.ebuild 1567 RMD160 b6a4c97825c9f5c33fc13e8b6c872f3f5ca7e80d SHA1 9257575c7a95770d366957aec32f44cf7358c9f8 SHA256 63f2a21ebfa94453437d0976f705e77fd487481064ae18117f73d579afc29cf4
-MISC ChangeLog 887 RMD160 67f7e5d1200809bee87a7fb43d01722ee2a5d1e1 SHA1 fbf73fb6d31fbec69afd0a6f8f298ba80fb7fd7a SHA256 8a230ddb4930a02f4199cda1fd6f4be2295a909fb07852fa6509d040232bba00
+EBUILD gt-itm-19961004.ebuild 1603 RMD160 3d192b0c441c61ccc5cf22236d9773c74ecf4bef SHA1 e38cd2890e175fa6e649e6dc9afe97e17cce60c2 SHA256 14aa7f2de211321af2021152fb37a46918db7977520e670fea0d07ba72949b29
+MISC ChangeLog 1045 RMD160 e39ce5d8c291ae9c0f1e4e307fdaa361191ec7a4 SHA1 817100ae9242ec065203b0e3b80782e41f9c5f21 SHA256 238c670e30da6dc93c259aa2c7a3d637f1852fe74b443ac693334d8dba67a0f0
MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900
diff --git a/sci-misc/gt-itm/gt-itm-19961004.ebuild b/sci-misc/gt-itm/gt-itm-19961004.ebuild
index 88a048752cf1..29db9fffb1c5 100644
--- a/sci-misc/gt-itm/gt-itm-19961004.ebuild
+++ b/sci-misc/gt-itm/gt-itm-19961004.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2009 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.2 2005/08/24 16:45:23 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/gt-itm/gt-itm-19961004.ebuild,v 1.3 2009/09/28 22:00:09 robbat2 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
@@ -10,7 +10,7 @@ SRC_URI="http://www.cc.gatech.edu/fac/Ellen.Zegura/gt-itm/gt-itm.tar.gz
LICENSE="as-is BSD"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="dev-util/sgb"
@@ -20,36 +20,36 @@ S2="${WORKDIR}/sgb2ns"
src_unpack() {
unpack sgb2ns.tar.gz
- mkdir ${S}
- cd ${S}
+ 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 '/^[[: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/*
+ rm -f "${S}"/lib/*
- find ${S}/sample-graphs/ -perm +111 -type f -name 'Run*' \
+ 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
+ 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
+ cd "${S}"/src
emake CFLAGS="${CFLAGS} -I../include" || die
- cd ${S2}
+ cd "${S2}"
emake CFLAGS="${CFLAGS} -I\$(IDIR) -L\$(LDIR)" || die
}
src_install() {
- dobin ${S}/bin/*
- dodoc ${S}/README ${S}/docs/*
- cp -pPR ${S}/sample-graphs ${D}/usr/share/doc/${PF}
+ dobin "${S}"/bin/*
+ dodoc "${S}"/README "${S}"/docs/*
+ cp -pPR "${S}"/sample-graphs "${D}"/usr/share/doc/${PF}
- cd ${S2}
+ cd "${S2}"
dodoc *.tcl *.gb
newdoc README README.sgb2ns