net-analyzer/cnet: drop old EAPI

Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
Aaron Bauman
2020-11-26 17:10:21 -05:00
parent 2fc249bc3e
commit ae8cdb2aa0
2 changed files with 0 additions and 52 deletions

View File

@@ -1,2 +1 @@
DIST cnet-3.3.1.tgz 2684531 BLAKE2B 5cb2cf545ccf1e2adb1e50f4220b944361ed44d61857ef4bf0ce30ed9e6346e0ed709bfbcfa339751bf2abc67d930b19decdc6355803426fa1eb4d097a6eed73 SHA512 9b86a077d48086036fbcfa86ba202b49610e1e1eac55fd3076b24a7ca622a6fc9b34156477bcb25af15d06cf0813f12a7b3f4cb21f1eeb00fd2e010610797ce8
DIST cnet-3.3.4.tgz 2687235 BLAKE2B dec8b4510cfb9a39ade046dee56955d4ab39094d07acf373b056ce1917f3bbddcf22cf5feefe864b472be4c4a47da3147a3b977cdbf8b0295e0c3a8da95a8420 SHA512 51457541d1023e49bdad4df3502c51d11ea6d62e3e6ae857becfb60229626ba777226b2b42d313d95b982b2790c6b1f80b39e344d9d4bcd4c38ccc31b055d8f9

View File

@@ -1,51 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils multilib toolchain-funcs
DESCRIPTION="Network simulation tool"
HOMEPAGE="https://www.csse.uwa.edu.au/cnet3/"
SRC_URI="https://dev.gentoo.org/~jer/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
RDEPEND="
>=dev-lang/tk-8.5
dev-libs/elfutils
x11-libs/libX11
"
DEPEND="
${RDEPEND}
"
src_prepare() {
epatch \
"${FILESDIR}"/${PN}-3.3.1-gentoo.patch \
"${FILESDIR}"/${PN}-3.3.1-tcl.patch
# Set libdir properly
sed -i -e "/CNETPATH/s:local/lib:$(get_libdir):" src/preferences.h || die
sed -i -e "/^LIBDIR/s:lib:$(get_libdir):" Makefile || die
epatch_user
}
src_compile() {
emake \
CC="$(tc-getCC)" \
AR="$(tc-getAR)" \
RANLIB="$(tc-getRANLIB)"
}
src_install() {
emake DESTDIR="${D}" install
dodoc ANNOUNCE
if use examples; then
dodoc -r examples
docompress -x /usr/share/doc/${P}/examples
fi
}