diff options
Diffstat (limited to 'sci-electronics/irsim')
-rw-r--r-- | sci-electronics/irsim/Manifest | 1 | ||||
-rw-r--r-- | sci-electronics/irsim/irsim-9.7.93-r1.ebuild | 46 | ||||
-rw-r--r-- | sci-electronics/irsim/metadata.xml | 3 |
3 files changed, 50 insertions, 0 deletions
diff --git a/sci-electronics/irsim/Manifest b/sci-electronics/irsim/Manifest index 144ec603afab..9bbbd570fb56 100644 --- a/sci-electronics/irsim/Manifest +++ b/sci-electronics/irsim/Manifest @@ -1 +1,2 @@ +DIST irsim-9.7.93-patches.tar.xz 8736 BLAKE2B 3377e8d0c7f24227930ff233b9b17f19033b3e1506ab2f72634255ce00be98841921fe68b51201f8a399d4edb4d43de00ebbe31065b5e79ef462775affc12764 SHA512 c814428d1c71e8fc69f2b19d5e69886f54ae054134c07ad72e0187b04f1a99a0267aa3c33982a264d7132bd93057cffe0aa325bd211d551e39597d5737150989 DIST irsim-9.7.93.tgz 465721 BLAKE2B f40e1216f51a51a38ee52628532989ee307db1ff3b0daa4f047a1a3eb04bd49d903382f67c1c4bae4366147f4448eb9699cdc47cffe712fa70a9d34c5bf13d00 SHA512 441a803935c178bdd663360df058142c07d91aecd158d6be8f10b670fc2a295e79839914de6a85ced58a79591625c514e2ceabe87486092d8a1784c7e47a02b3 diff --git a/sci-electronics/irsim/irsim-9.7.93-r1.ebuild b/sci-electronics/irsim/irsim-9.7.93-r1.ebuild new file mode 100644 index 000000000000..38552dd190d4 --- /dev/null +++ b/sci-electronics/irsim/irsim-9.7.93-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="IRSIM is a \"switch-level\" simulator" +HOMEPAGE="http://opencircuitdesign.com/irsim/" +SRC_URI="http://opencircuitdesign.com/irsim/archive/${P}.tgz" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-patches.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/tcl:= + dev-lang/tk:= +" +DEPEND="${RDEPEND}" +BDEPEND="app-shells/tcsh" + +PATCHES=( + "${WORKDIR}"/${P}-patches/${PN}-9.7.72-ldflags.patch + "${WORKDIR}"/${P}-patches/${PN}-9.7.79-datadir.patch + "${WORKDIR}"/${P}-patches/${PN}-9.7.93-clean-makefile.patch + "${WORKDIR}"/${P}-patches/${PN}-9.7.93-C99-port.patch + "${WORKDIR}"/${P}-patches/${PN}-9.7.93-Makefile.patch +) + +src_configure() { + # Short-circuit top-level configure script to retain CFLAGS + cd scripts || die + econf +} + +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 +} diff --git a/sci-electronics/irsim/metadata.xml b/sci-electronics/irsim/metadata.xml index 59be6adb7fb2..c9ff90a10614 100644 --- a/sci-electronics/irsim/metadata.xml +++ b/sci-electronics/irsim/metadata.xml @@ -12,4 +12,7 @@ little bit more realistic than the ideal, using the RC time constants to predict the relative timing of events. </longdescription> + <upstream> + <remote-id type="github">RTimothyEdwards/irsim</remote-id> + </upstream> </pkgmetadata> |