1 |
commit: a93f48e744c83be91a03b8ae94ec9b70c9a907cf |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 24 13:27:57 2016 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 24 13:30:22 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a93f48e7 |
7 |
|
8 |
sci-misc/gt-itm: Remove EAPI=0 ebuild |
9 |
|
10 |
Package-Manager: portage-2.3.1 |
11 |
|
12 |
sci-misc/gt-itm/gt-itm-19961004-r1.ebuild | 75 ------------------------------- |
13 |
1 file changed, 75 deletions(-) |
14 |
|
15 |
diff --git a/sci-misc/gt-itm/gt-itm-19961004-r1.ebuild b/sci-misc/gt-itm/gt-itm-19961004-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 56b2fb0..00000000 |
18 |
--- a/sci-misc/gt-itm/gt-itm-19961004-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,75 +0,0 @@ |
21 |
-# Copyright 1999-2014 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-inherit eutils toolchain-funcs |
26 |
- |
27 |
-DESCRIPTION="Routines to generate and analyze graphs using different models for internetwork topology" |
28 |
-HOMEPAGE="http://www.cc.gatech.edu/fac/Ellen.Zegura/graphs.html |
29 |
- http://www.isi.edu/nsnam/ns/ns-topogen.html#gt-itm" |
30 |
-SRC_URI="http://www.cc.gatech.edu/fac/Ellen.Zegura/gt-itm/gt-itm.tar.gz |
31 |
- http://www.isi.edu/nsnam/dist/sgb2ns.tar.gz" |
32 |
- |
33 |
-LICENSE="all-rights-reserved sgb2ns" |
34 |
-SLOT="0" |
35 |
-KEYWORDS="~x86 ~amd64" |
36 |
-RESTRICT="mirror bindist" |
37 |
- |
38 |
-DEPEND="dev-util/sgb" |
39 |
-RDEPEND="${DEPEND}" |
40 |
- |
41 |
-S="${WORKDIR}/${PN}" |
42 |
-S2="${WORKDIR}/sgb2ns" |
43 |
- |
44 |
-src_unpack() { |
45 |
- unpack sgb2ns.tar.gz |
46 |
- |
47 |
- mkdir "${S}" |
48 |
- cd "${S}" |
49 |
- unpack gt-itm.tar.gz |
50 |
- |
51 |
- sed -r -e '/^[[:alnum:]]+\.o:/d' \ |
52 |
- -e 's|LIBS = -lm -lgb.*|LIBS = -lm -lgb|' \ |
53 |
- -e 's/\$\(CC\)/& \$\(LDFLAGS\)/g' \ |
54 |
- -i "${S}"/src/Makefile || die |
55 |
- sed -r -e '/^SYS = -DSYSV/d' \ |
56 |
- -e 's|LIBS = -lm -lgb.*|LIBS = -lm -lgb|' \ |
57 |
- -e 's/\$\(CC\)/& \$\(LDFLAGS\)/g' \ |
58 |
- -i ${S2}/Makefile || die |
59 |
- |
60 |
- rm -f "${S}"/lib/* |
61 |
- |
62 |
- find "${S}"/sample-graphs/ -perm +111 -type f -name 'Run*' \ |
63 |
- | xargs -r -n1 sed -re 's|(\.\./)+bin/||g' -i || die |
64 |
- |
65 |
- sed -e 's|sys/types.h|sys/param.h|' -i "${S}"/src/geog.c || die |
66 |
- sed -e '162 s/connected $/connected \\/' -i "${S}"/src/eval.c || die |
67 |
- |
68 |
- # fix implicit function declarations |
69 |
- sed -e '/stdio.h/ a\#include <stdlib.h>' \ |
70 |
- -i "${S2}/sgb2comns.c" "${S2}/sgb2hierns.c" || die |
71 |
- sed -e "s/<strings.h>/<string.h>/g" \ |
72 |
- -i "${S2}/sgb2hierns.c" || die |
73 |
- epatch "${FILESDIR}"/${PN}-implicits.patch |
74 |
-} |
75 |
- |
76 |
-src_compile() { |
77 |
- cd "${S}"/src |
78 |
- emake CFLAGS="${CFLAGS} -I../include" LDFLAGS="${LDFLAGS}" \ |
79 |
- CC="$(tc-getCC)" || die |
80 |
- |
81 |
- cd "${S2}" |
82 |
- emake CFLAGS="${CFLAGS} -I\$(IDIR) -L\$(LDIR)" LDFLAGS="${LDFLAGS}" \ |
83 |
- CC="$(tc-getCC)" || die |
84 |
-} |
85 |
- |
86 |
-src_install() { |
87 |
- dobin "${S}"/bin/* || die |
88 |
- dodoc "${S}"/README "${S}"/docs/* || die |
89 |
- cp -pPR "${S}"/sample-graphs "${D}"/usr/share/doc/${PF} || die |
90 |
- |
91 |
- cd "${S2}" |
92 |
- dodoc *.tcl *.gb || die |
93 |
- newdoc README README.sgb2ns || die |
94 |
- |
95 |
-} |