diff options
author | 2024-03-16 13:53:39 +0800 | |
---|---|---|
committer | 2024-03-16 13:53:39 +0800 | |
commit | db49e23625c3a874eac804f26ecebdd45cedc664 (patch) | |
tree | bc0e0c19209a49545d04d27d4c30be2325e8bbbd /sci-electronics | |
parent | media-fonts/victor-mono: add 1.5.6 (diff) | |
download | guru-db49e23625c3a874eac804f26ecebdd45cedc664.tar.gz guru-db49e23625c3a874eac804f26ecebdd45cedc664.tar.bz2 guru-db49e23625c3a874eac804f26ecebdd45cedc664.zip |
sci-electronics/verilator: add 5.022
Signed-off-by: Huang Rui <vowstar@gmail.com>
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/verilator/Manifest | 1 | ||||
-rw-r--r-- | sci-electronics/verilator/verilator-5.022.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/sci-electronics/verilator/Manifest b/sci-electronics/verilator/Manifest index a1bc324abd..046d2c3e5c 100644 --- a/sci-electronics/verilator/Manifest +++ b/sci-electronics/verilator/Manifest @@ -1,3 +1,4 @@ DIST verilator-4.106.tar.gz 2191982 BLAKE2B 9dbd0dad390b4a009a062a8405dc01a317fed68a2f0becd4bf088c566f2457a4cda04a4c276cf31cdbaa0efa6e64f5618b9439221f8cf4bb469f20f1de1af397 SHA512 b1840b294b22c0d4cf17a0a154e73a631c62b30055f324dca98839ab85e2a524f9e3b6e981b192b941c1dd9837f326ae38cc3fcf686c3f8731d376dc89dd46fe DIST verilator-5.014.tar.gz 2984988 BLAKE2B 5cf891a0092975bb68c65701f54b71e76579317c537bdf16ce930e7f560ceed0bb33def9d0a78df2e9b3b599f71de7633344d90b45aa54945ec39356ce7a8f87 SHA512 963c15290089fd59870bf15903e71aa29fcc10eb67b3d3f1ae0128e8a29e5dc086c6f3a8d429c24718f54c3cbc3d3bcaa137bd2fa3165a0190c591ed5fc06f37 DIST verilator-5.018.tar.gz 3457115 BLAKE2B ea392ffd4df067180c7662983d6941719afd7cf960347ac12ffb43dd8c0374d4254a9d3056d78cda72534b64f077cae504baefdd357ddb8d07dcdec1fc56f7dd SHA512 671d6d5fa749b00f0e66cdf17f0b8c38523f757e4c33268ee4805e131b38bc6563ffa312827fa547c5f3efb9c539633e412d8e105742ac2f4713e21b43f67ce8 +DIST verilator-5.022.tar.gz 3761782 BLAKE2B 49713ce89f101eb6f6165ee316fc018936ccb21fd6ceccce343684ff3cca10285f851172549843078801e69828f0069877ec68a8ac39a1fbce4a2426d3e4b44d SHA512 5b919ed5d4cf863434f10f39bbb3a5155d63f79765f5f1d5ae543023b0e350e0996507d250fbfb2e5129bbdf9a51cc5fd0b7154962747c89435648897525bc84 diff --git a/sci-electronics/verilator/verilator-5.022.ebuild b/sci-electronics/verilator/verilator-5.022.ebuild new file mode 100644 index 0000000000..a71b2db38c --- /dev/null +++ b/sci-electronics/verilator/verilator-5.022.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit autotools + +DESCRIPTION="The fast free Verilog/SystemVerilog simulator" +HOMEPAGE=" + https://verilator.org + https://github.com/verilator/verilator +" + +if [[ "${PV}" == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +LICENSE="|| ( Artistic-2 LGPL-3 )" +SLOT="0" + +RDEPEND=" + dev-lang/perl + sys-libs/zlib +" + +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + sys-devel/bison + sys-devel/flex +" + +src_prepare() { + default + if [[ ! "${PV}" == "9999" ]] ; then + # https://github.com/verilator/verilator/issues/3352 + sed -i "s/UNKNOWN_REV/(Gentoo ${PVR})/g" "${S}"/src/config_rev || die + fi + eautoconf --force +} |