1 |
commit: cba27e4b708bf6b978b46b5734538b7ca42fe565 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 24 06:15:05 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 27 02:57:15 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cba27e4b |
7 |
|
8 |
sci-misc/gt-itm: Rename the distfiles |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/12783 |
12 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
13 |
|
14 |
sci-misc/gt-itm/Manifest | 4 ++-- |
15 |
sci-misc/gt-itm/gt-itm-19961004-r2.ebuild | 13 +++++++------ |
16 |
2 files changed, 9 insertions(+), 8 deletions(-) |
17 |
|
18 |
diff --git a/sci-misc/gt-itm/Manifest b/sci-misc/gt-itm/Manifest |
19 |
index 11e2f46493f..2cf70b9c841 100644 |
20 |
--- a/sci-misc/gt-itm/Manifest |
21 |
+++ b/sci-misc/gt-itm/Manifest |
22 |
@@ -1,2 +1,2 @@ |
23 |
-DIST gt-itm.tar.gz 623345 BLAKE2B e9cf712d6a4411cbb66faf9bbd803bb3753ebbbd05174c02581c9b606e02f1c7132b0b96f483e3f273a28aebd64a8ede046de7397ddb9606efccad59ba137524 SHA512 e775ac475d40fc753a27fb619f262d701818190fa3be90d587f95e215610918b56b9d67783d4e7e2f55d0064e5b2d2ce911042353b29bce1e4dbcf407ff9fabc |
24 |
-DIST sgb2ns.tar.gz 50635 BLAKE2B b669d9def20c7e149de33072467183190f85b7fb30662cad83c53c1d9317532a1bd95174498eebd13b98eccf2ac693159793a40b667cdc97a6f15fbd027e0975 SHA512 77ec6fdad61f43bf078851852aa03dfea02df235a78853e477dacc8e2b94c0d8bda9772fc00d18fdaeabc419b2780c016b7a64a1a06ac0be2c8c2aa6608c06cf |
25 |
+DIST gt-itm-19961004.tar.gz 623345 BLAKE2B e9cf712d6a4411cbb66faf9bbd803bb3753ebbbd05174c02581c9b606e02f1c7132b0b96f483e3f273a28aebd64a8ede046de7397ddb9606efccad59ba137524 SHA512 e775ac475d40fc753a27fb619f262d701818190fa3be90d587f95e215610918b56b9d67783d4e7e2f55d0064e5b2d2ce911042353b29bce1e4dbcf407ff9fabc |
26 |
+DIST sgb2ns-19961004.tar.gz 50635 BLAKE2B b669d9def20c7e149de33072467183190f85b7fb30662cad83c53c1d9317532a1bd95174498eebd13b98eccf2ac693159793a40b667cdc97a6f15fbd027e0975 SHA512 77ec6fdad61f43bf078851852aa03dfea02df235a78853e477dacc8e2b94c0d8bda9772fc00d18fdaeabc419b2780c016b7a64a1a06ac0be2c8c2aa6608c06cf |
27 |
|
28 |
diff --git a/sci-misc/gt-itm/gt-itm-19961004-r2.ebuild b/sci-misc/gt-itm/gt-itm-19961004-r2.ebuild |
29 |
index 36c7552cf47..99585d83edf 100644 |
30 |
--- a/sci-misc/gt-itm/gt-itm-19961004-r2.ebuild |
31 |
+++ b/sci-misc/gt-itm/gt-itm-19961004-r2.ebuild |
32 |
@@ -1,4 +1,4 @@ |
33 |
-# Copyright 1999-2016 Gentoo Foundation |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
# Distributed under the terms of the GNU General Public License v2 |
36 |
|
37 |
EAPI=6 |
38 |
@@ -7,9 +7,9 @@ inherit toolchain-funcs |
39 |
|
40 |
DESCRIPTION="Routines to generate / analyze graphs using models for internetwork topology" |
41 |
HOMEPAGE="http://www.cc.gatech.edu/fac/Ellen.Zegura/graphs.html |
42 |
- http://www.isi.edu/nsnam/ns/ns-topogen.html#gt-itm" |
43 |
-SRC_URI="http://www.cc.gatech.edu/fac/Ellen.Zegura/gt-itm/gt-itm.tar.gz |
44 |
- http://www.isi.edu/nsnam/dist/sgb2ns.tar.gz" |
45 |
+ http://www.isi.edu/nsnam/ns/ns-topogen.html#gt-itm" |
46 |
+SRC_URI="http://www.cc.gatech.edu/fac/Ellen.Zegura/gt-itm/gt-itm.tar.gz -> ${P}.tar.gz |
47 |
+ http://www.isi.edu/nsnam/dist/sgb2ns.tar.gz -> sgb2ns-${PV}.tar.gz" |
48 |
|
49 |
LICENSE="all-rights-reserved sgb2ns" |
50 |
SLOT="0" |
51 |
@@ -27,12 +27,13 @@ PATCHES=( "${FILESDIR}"/${PN}-implicits.patch ) |
52 |
DOCS=( README docs/. ) |
53 |
|
54 |
src_unpack() { |
55 |
- unpack sgb2ns.tar.gz |
56 |
+ unpack "sgb2ns-${PV}.tar.gz" |
57 |
|
58 |
mkdir "$S" || die |
59 |
cd "$S" || die |
60 |
- unpack gt-itm.tar.gz |
61 |
+ unpack "${P}.tar.gz" |
62 |
} |
63 |
+ |
64 |
src_prepare() { |
65 |
sed -ri -e '/^[[:alnum:]]+\.o:/d' \ |
66 |
-e 's|LIBS = -lm -lgb.*|LIBS = -lm -lgb|' \ |