summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-08-24 08:15:05 +0200
committerMichał Górny <mgorny@gentoo.org>2019-08-27 04:57:15 +0200
commitcba27e4b708bf6b978b46b5734538b7ca42fe565 (patch)
tree8c9307be758a6ddc19b48725d5fdf047dadd4e9f /sci-misc/gt-itm
parentnet-analyzer/pypacker: Version 4.8 (diff)
downloadgentoo-cba27e4b708bf6b978b46b5734538b7ca42fe565.tar.gz
gentoo-cba27e4b708bf6b978b46b5734538b7ca42fe565.tar.bz2
gentoo-cba27e4b708bf6b978b46b5734538b7ca42fe565.zip
sci-misc/gt-itm: Rename the distfiles
Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/12783 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sci-misc/gt-itm')
-rw-r--r--sci-misc/gt-itm/Manifest4
-rw-r--r--sci-misc/gt-itm/gt-itm-19961004-r2.ebuild13
2 files changed, 9 insertions, 8 deletions
diff --git a/sci-misc/gt-itm/Manifest b/sci-misc/gt-itm/Manifest
index 11e2f46493fe..2cf70b9c8419 100644
--- a/sci-misc/gt-itm/Manifest
+++ b/sci-misc/gt-itm/Manifest
@@ -1,2 +1,2 @@
-DIST gt-itm.tar.gz 623345 BLAKE2B e9cf712d6a4411cbb66faf9bbd803bb3753ebbbd05174c02581c9b606e02f1c7132b0b96f483e3f273a28aebd64a8ede046de7397ddb9606efccad59ba137524 SHA512 e775ac475d40fc753a27fb619f262d701818190fa3be90d587f95e215610918b56b9d67783d4e7e2f55d0064e5b2d2ce911042353b29bce1e4dbcf407ff9fabc
-DIST sgb2ns.tar.gz 50635 BLAKE2B b669d9def20c7e149de33072467183190f85b7fb30662cad83c53c1d9317532a1bd95174498eebd13b98eccf2ac693159793a40b667cdc97a6f15fbd027e0975 SHA512 77ec6fdad61f43bf078851852aa03dfea02df235a78853e477dacc8e2b94c0d8bda9772fc00d18fdaeabc419b2780c016b7a64a1a06ac0be2c8c2aa6608c06cf
+DIST gt-itm-19961004.tar.gz 623345 BLAKE2B e9cf712d6a4411cbb66faf9bbd803bb3753ebbbd05174c02581c9b606e02f1c7132b0b96f483e3f273a28aebd64a8ede046de7397ddb9606efccad59ba137524 SHA512 e775ac475d40fc753a27fb619f262d701818190fa3be90d587f95e215610918b56b9d67783d4e7e2f55d0064e5b2d2ce911042353b29bce1e4dbcf407ff9fabc
+DIST sgb2ns-19961004.tar.gz 50635 BLAKE2B b669d9def20c7e149de33072467183190f85b7fb30662cad83c53c1d9317532a1bd95174498eebd13b98eccf2ac693159793a40b667cdc97a6f15fbd027e0975 SHA512 77ec6fdad61f43bf078851852aa03dfea02df235a78853e477dacc8e2b94c0d8bda9772fc00d18fdaeabc419b2780c016b7a64a1a06ac0be2c8c2aa6608c06cf
diff --git a/sci-misc/gt-itm/gt-itm-19961004-r2.ebuild b/sci-misc/gt-itm/gt-itm-19961004-r2.ebuild
index 36c7552cf47e..99585d83edfe 100644
--- a/sci-misc/gt-itm/gt-itm-19961004-r2.ebuild
+++ b/sci-misc/gt-itm/gt-itm-19961004-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -7,9 +7,9 @@ inherit toolchain-funcs
DESCRIPTION="Routines to generate / analyze graphs using 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"
+ 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 -> ${P}.tar.gz
+ http://www.isi.edu/nsnam/dist/sgb2ns.tar.gz -> sgb2ns-${PV}.tar.gz"
LICENSE="all-rights-reserved sgb2ns"
SLOT="0"
@@ -27,12 +27,13 @@ PATCHES=( "${FILESDIR}"/${PN}-implicits.patch )
DOCS=( README docs/. )
src_unpack() {
- unpack sgb2ns.tar.gz
+ unpack "sgb2ns-${PV}.tar.gz"
mkdir "$S" || die
cd "$S" || die
- unpack gt-itm.tar.gz
+ unpack "${P}.tar.gz"
}
+
src_prepare() {
sed -ri -e '/^[[:alnum:]]+\.o:/d' \
-e 's|LIBS = -lm -lgb.*|LIBS = -lm -lgb|' \