sci-electronics/irsim: drop old EAPI

Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
Aaron Bauman
2019-11-13 14:39:09 -05:00
parent 68e1093582
commit c83191c599
3 changed files with 0 additions and 104 deletions

View File

@@ -1,3 +1 @@
DIST irsim-9.7.79.tgz 471749 BLAKE2B d2909f12c66b3b9b4c141627996cbdf0a4985d904f0ba7f196c2caa58f50f328224be675067d5164fdd824bd877fdb2f11295da487dff83e55bc120dae47371c SHA512 a5bbf9757ff1c6e74f36725e9da8d16cebff7a3a77174f37b3e2a2239afc839ac7165214d221c44d437fa07f5544e01969e0cad4e205067a04c7e37c8d3c1969
DIST irsim-9.7.87.tgz 459249 BLAKE2B bbeecde1d77985170aa83d624d381616654915cbd8cf1032de5b38f535c376964652bf679f9d09e58f0e7cc9ce584815d9dcbd4c9a706093189d94056b4d00e2 SHA512 2399c41d22db146ce4d87019476f975386aef62afd831bc245ff8d8fc5c88a256712c31a04b58cacf28602c00273ed4623adffc2eddb4c7b533e7eb0894a9651
DIST irsim-9.7.93.tgz 465721 BLAKE2B f40e1216f51a51a38ee52628532989ee307db1ff3b0daa4f047a1a3eb04bd49d903382f67c1c4bae4366147f4448eb9699cdc47cffe712fa70a9d34c5bf13d00 SHA512 441a803935c178bdd663360df058142c07d91aecd158d6be8f10b670fc2a295e79839914de6a85ced58a79591625c514e2ceabe87486092d8a1784c7e47a02b3

View File

@@ -1,53 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit eutils multilib
DESCRIPTION="IRSIM is a \"switch-level\" simulator"
HOMEPAGE="http://opencircuitdesign.com/irsim/"
SRC_URI="http://opencircuitdesign.com/irsim/archive/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-lang/tcl:0
dev-lang/tk:0"
DEPEND="${RDEPEND}
app-shells/tcsh"
src_prepare() {
epatch "${FILESDIR}"/${PN}-9.7.72-ldflags.patch
epatch "${FILESDIR}"/${PN}-9.7.79-datadir.patch
sed -e "s:/usr/bin/:${EPREFIX}/usr/bin/:" \
-e "s:/usr/local/lib/:${EPREFIX}/usr/$(get_libdir)/:" \
-i tcltk/irsim.sh \
-i tcltk/irsim.tcl || die
}
src_configure() {
# Short-circuit top-level configure script to retain CFLAGS
cd scripts
#tc-export CPP
econf
}
src_install() {
emake DESTDIR="${D}" DOCDIR=/usr/share/doc/${PF} install
dodoc README
}
pkg_postinst() {
einfo
einfo "You will probably need to add to your ~/.Xdefaults"
einfo "the following line:"
einfo "irsim.background: black"
einfo
einfo "This is needed because Gentoo from default sets a"
einfo "grey background which makes impossible to see the"
einfo "simulation (white line on light gray background)."
einfo
}

View File

@@ -1,49 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit eutils multilib
DESCRIPTION="IRSIM is a \"switch-level\" simulator"
HOMEPAGE="http://opencircuitdesign.com/irsim/"
SRC_URI="http://opencircuitdesign.com/irsim/archive/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-lang/tcl:0
dev-lang/tk:0"
DEPEND="${RDEPEND}
app-shells/tcsh"
src_prepare() {
epatch "${FILESDIR}"/${PN}-9.7.72-ldflags.patch
epatch "${FILESDIR}"/${PN}-9.7.79-datadir.patch
}
src_configure() {
# Short-circuit top-level configure script to retain CFLAGS
cd scripts
#tc-export CPP
econf
}
src_install() {
emake DESTDIR="${D}" DOCDIR=/usr/share/doc/${PF} install
dodoc README
}
pkg_postinst() {
einfo
einfo "You will probably need to add to your ~/.Xdefaults"
einfo "the following line:"
einfo "irsim.background: black"
einfo
einfo "This is needed because Gentoo from default sets a"
einfo "grey background which makes impossible to see the"
einfo "simulation (white line on light gray background)."
einfo
}