Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-misc/gt-itm: gt-itm-19961004.ebuild ChangeLog
Date: Mon, 28 Sep 2009 22:00:12
Message-Id: E1MsOGP-0003W1-Hq@stork.gentoo.org
1 robbat2 09/09/28 22:00:09
2
3 Modified: gt-itm-19961004.ebuild ChangeLog
4 Log:
5 Fixup to more modern standards, and confirmed to build against amd64 as well.
6 (Portage version: 2.2_rc40/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.3 sci-misc/gt-itm/gt-itm-19961004.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/gt-itm/gt-itm-19961004.ebuild?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/gt-itm/gt-itm-19961004.ebuild?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/gt-itm/gt-itm-19961004.ebuild?r1=1.2&r2=1.3
14
15 Index: gt-itm-19961004.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sci-misc/gt-itm/gt-itm-19961004.ebuild,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -p -w -b -B -u -u -r1.2 -r1.3
21 --- gt-itm-19961004.ebuild 24 Aug 2005 16:45:23 -0000 1.2
22 +++ gt-itm-19961004.ebuild 28 Sep 2009 22:00:09 -0000 1.3
23 @@ -1,6 +1,6 @@
24 -# Copyright 1999-2005 Gentoo Foundation
25 +# Copyright 1999-2009 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/gt-itm/gt-itm-19961004.ebuild,v 1.2 2005/08/24 16:45:23 phosphan Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/gt-itm/gt-itm-19961004.ebuild,v 1.3 2009/09/28 22:00:09 robbat2 Exp $
29
30 DESCRIPTION="A collection of routines to generate and analyze graphs using a wide variety of models for internetwork topology"
31 HOMEPAGE="http://www.cc.gatech.edu/fac/Ellen.Zegura/graphs.html
32 @@ -10,7 +10,7 @@ SRC_URI="http://www.cc.gatech.edu/fac/El
33
34 LICENSE="as-is BSD"
35 SLOT="0"
36 -KEYWORDS="~x86"
37 +KEYWORDS="~x86 ~amd64"
38 IUSE=""
39
40 DEPEND="dev-util/sgb"
41 @@ -20,36 +20,36 @@ S2="${WORKDIR}/sgb2ns"
42 src_unpack() {
43 unpack sgb2ns.tar.gz
44
45 - mkdir ${S}
46 - cd ${S}
47 + mkdir "${S}"
48 + cd "${S}"
49 unpack gt-itm.tar.gz
50
51 - sed -r -e '/^[[:alnum:]]+\.o:/d' -e 's|LIBS = -lm -lgb.*|LIBS = -lm -lgb|' -i ${S}/src/Makefile
52 + sed -r -e '/^[[:alnum:]]+\.o:/d' -e 's|LIBS = -lm -lgb.*|LIBS = -lm -lgb|' -i "${S}"/src/Makefile
53 sed -r -e '/^SYS = -DSYSV/d' -e 's|LIBS = -lm -lgb.*|LIBS = -lm -lgb|' -i ${S2}/Makefile || die
54
55 - rm -f ${S}/lib/*
56 + rm -f "${S}"/lib/*
57
58 - find ${S}/sample-graphs/ -perm +111 -type f -name 'Run*' \
59 + find "${S}"/sample-graphs/ -perm +111 -type f -name 'Run*' \
60 | xargs -r -n1 sed -re 's|(\.\./)+bin/||g' -i || die
61
62 - sed -e 's|sys/types.h|sys/param.h|' -i ${S}/src/geog.c
63 - sed -e '162 s/connected $/connected \\/' -i ${S}/src/eval.c
64 + sed -e 's|sys/types.h|sys/param.h|' -i "${S}"/src/geog.c
65 + sed -e '162 s/connected $/connected \\/' -i "${S}"/src/eval.c
66 }
67
68 src_compile() {
69 - cd ${S}/src
70 + cd "${S}"/src
71 emake CFLAGS="${CFLAGS} -I../include" || die
72
73 - cd ${S2}
74 + cd "${S2}"
75 emake CFLAGS="${CFLAGS} -I\$(IDIR) -L\$(LDIR)" || die
76 }
77
78 src_install() {
79 - dobin ${S}/bin/*
80 - dodoc ${S}/README ${S}/docs/*
81 - cp -pPR ${S}/sample-graphs ${D}/usr/share/doc/${PF}
82 + dobin "${S}"/bin/*
83 + dodoc "${S}"/README "${S}"/docs/*
84 + cp -pPR "${S}"/sample-graphs "${D}"/usr/share/doc/${PF}
85
86 - cd ${S2}
87 + cd "${S2}"
88 dodoc *.tcl *.gb
89 newdoc README README.sgb2ns
90
91
92
93
94 1.5 sci-misc/gt-itm/ChangeLog
95
96 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/gt-itm/ChangeLog?rev=1.5&view=markup
97 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/gt-itm/ChangeLog?rev=1.5&content-type=text/plain
98 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/gt-itm/ChangeLog?r1=1.4&r2=1.5
99
100 Index: ChangeLog
101 ===================================================================
102 RCS file: /var/cvsroot/gentoo-x86/sci-misc/gt-itm/ChangeLog,v
103 retrieving revision 1.4
104 retrieving revision 1.5
105 diff -p -w -b -B -u -u -r1.4 -r1.5
106 --- ChangeLog 9 Feb 2007 05:26:57 -0000 1.4
107 +++ ChangeLog 28 Sep 2009 22:00:09 -0000 1.5
108 @@ -1,6 +1,10 @@
109 # ChangeLog for sci-misc/gt-itm
110 -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
111 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/gt-itm/ChangeLog,v 1.4 2007/02/09 05:26:57 flameeyes Exp $
112 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
113 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/gt-itm/ChangeLog,v 1.5 2009/09/28 22:00:09 robbat2 Exp $
114 +
115 + 28 Sep 2009; Robin H. Johnson <robbat2@g.o> gt-itm-19961004.ebuild:
116 + Fixup to more modern standards, and confirmed to build against amd64 as
117 + well.
118
119 09 Feb 2007; Diego Pettenò <flameeyes@g.o> ChangeLog:
120 Regenerate digest in Manifest2 format.