diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-10 11:36:37 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-10 11:36:37 +0100 |
commit | d6fe3a53bdeea6b060d1755199cc2c27492dc14c (patch) | |
tree | 7bb8240ab620eafcfe59b3d1b45831bf45e12501 /sci-electronics/iverilog | |
parent | 4bbcd26e7cb1908fb98bb318bfaa13ea9e32d860 (diff) |
gentoo auto-resync : 10:04:2023 - 11:36:36
Diffstat (limited to 'sci-electronics/iverilog')
-rw-r--r-- | sci-electronics/iverilog/Manifest | 4 | ||||
-rw-r--r-- | sci-electronics/iverilog/iverilog-12.0.ebuild | 65 | ||||
-rw-r--r-- | sci-electronics/iverilog/iverilog-9999.ebuild | 10 |
3 files changed, 74 insertions, 5 deletions
diff --git a/sci-electronics/iverilog/Manifest b/sci-electronics/iverilog/Manifest index 20519233773f..fb72db9ed7c5 100644 --- a/sci-electronics/iverilog/Manifest +++ b/sci-electronics/iverilog/Manifest @@ -7,7 +7,9 @@ AUX iverilog-10.3-override-var.patch 337 BLAKE2B c1809c3dc2cf47f349afb851d11d4ac AUX iverilog-11.0-autoconf-2.70.patch 11616 BLAKE2B f753698b8dfc21914ac68d09251515f71890e5164252173b020987b1387cccc23ac9d621cb27b5073d654f87cf003a75b9a35d075437201b565f32220e14fc18 SHA512 1a57dfd29799ff2aeeb27632325b9522b9764faaecf223ff7120bf224ebae8cda2beffb5f2b04bfc148e518332680272cc32491e0bcd103c2d0dffd46a37aa0e DIST iverilog-10.3.tar.gz 1600835 BLAKE2B 107c57c61fb27c18f4020f7853bf6ca83d1a86fdc73c57ea207828baf6b7a26d42e43ce7b33580f050a4c0b8f63bca6accecf678323a3bbbee1eb9c1d8fa2caa SHA512 67076e19a208576c21a0462ff7d15d00a9d47740c47518a5523bd928b3118360d85eb84c317963717d15e5246ece3727259f6ff3baf59e195340530cc9086a1d DIST iverilog-11.0.tar.gz 1682457 BLAKE2B ba90574e1453a095143e76e5dc79bb2357a721fc62c24f0fb23d220458819cb3b8ea8494410ce956e68831b682b61f27f64e94e9c166a69e5f6d5d30a8269a11 SHA512 5d6a65e1c3b6b62e99af708cd5a259cc69c6b789dd6eff69e225903d9b8c115d9e5d6f7635b30c6558197cd0ee6fd8196a163fbd98956e24c211d97328b85056 +DIST iverilog-12.0.tar.gz 2995096 BLAKE2B 7e1d4d8302168da3d38aac113daaaa62b80e59d7485be142443cd57ef346e788d9b58564af491a0ad58f64c06e475696238205f3e673f10da3c2cd417020fbed SHA512 a8e112f760903335ef2fbf00529e5fe282b83c1f583c4316373b9410d7fad2a53d5c4adb82dd62491c14a620cb5b1fab117cb0cde638c86b65fe5b7b0dd07152 EBUILD iverilog-10.3.ebuild 2126 BLAKE2B 9336f71dd709a922c6b20b8523d2c0bcef3decff9fa186b5d01993e411de497136212496a848aa8b732bb46d2aff8f230825014d2b2723c833b5c1c02dfdd1d7 SHA512 31ba90af04135da16bb2b6c6f239a0105b213849fc7bfe68ff73580683d95d03e50c5e018399a639d21c3010f89548c5553e0fd20aecc6da0dfca07d3ef317e2 EBUILD iverilog-11.0.ebuild 1543 BLAKE2B 68cf06b5f5d87fed8fcdf90a318ec6cc7aa8c4075340fe275506ce694f3aa05e9a5d621ddfe7122a20aeb6574c55120c96edfbb75e6653cb8292dd08b488c76e SHA512 b9b992193f1e1a5381a13238cf6bc69c0132d18f637f6abde44be10696b2c4aa38219d07f1ad730deb1b24d75beef27bb2da80b5fca3e4c8230ebbee323d2f2c -EBUILD iverilog-9999.ebuild 1485 BLAKE2B dd0bc0d262210b821ec7499876d249610762c10f42960f42cf1e4cda3c31d7a65628c2289fff894e5863952415829b940cdcf0031c1bdb61bc65e970cbe2064a SHA512 5a141f14d7752380371ceb40177884e213e0fac779f3cfb358a93d8a5c691c3d2b947d91f394c5365bdce402b611d990d79c7879f6884520f6d96f6806702941 +EBUILD iverilog-12.0.ebuild 1493 BLAKE2B 563796d9822f01289e5944fda05b44a96fabc8eb5c37cf116138a286d66c43d97224cc3cf6605283ea63b6c6fad9adcaabdad91e1969bf8cd8584554c09c598f SHA512 eeb3b772295b2e167f81fc1a795e142ee7606ae75cbf3a4b4cb999fd8fa9ac49eba25a92c211f7151a360568f4a48b8d10ae601787927434e6416abc9382df86 +EBUILD iverilog-9999.ebuild 1493 BLAKE2B 563796d9822f01289e5944fda05b44a96fabc8eb5c37cf116138a286d66c43d97224cc3cf6605283ea63b6c6fad9adcaabdad91e1969bf8cd8584554c09c598f SHA512 eeb3b772295b2e167f81fc1a795e142ee7606ae75cbf3a4b4cb999fd8fa9ac49eba25a92c211f7151a360568f4a48b8d10ae601787927434e6416abc9382df86 MISC metadata.xml 935 BLAKE2B 43c8165799b301c14618858df3e2591578aa4b5605e3ce0ca08a15337b6a53376863db9c07451d4fd5849d71fb2335bbefc9f2848b257079c2fe5b7d731361a2 SHA512 2508fb58d82acf9f8784197a03874cc73cc99b46c3d41dce2f2aee6e75a9a107bcd66530c942cf2d329fd31e48ce670764cd3042f8e6af2027e4c4e1fdaad2ef diff --git a/sci-electronics/iverilog/iverilog-12.0.ebuild b/sci-electronics/iverilog/iverilog-12.0.ebuild new file mode 100644 index 000000000000..43fe2c27ba04 --- /dev/null +++ b/sci-electronics/iverilog/iverilog-12.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +GITHUB_PV=$(ver_rs 1- '_') + +DESCRIPTION="A Verilog simulation and synthesis tool" +HOMEPAGE=" + http://iverilog.icarus.com + https://github.com/steveicarus/iverilog +" + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/steveicarus/${PN}.git" +else + SRC_URI="https://github.com/steveicarus/${PN}/archive/v${GITHUB_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + S="${WORKDIR}/${PN}-${GITHUB_PV}" +fi + +LICENSE="LGPL-2.1" +SLOT="0" + +DEPEND=" + sys-libs/readline:= + sys-libs/zlib +" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-util/gperf + sys-devel/bison + sys-devel/flex +" + +src_prepare() { + default + + # From upstreams autoconf.sh, to make it utilize the autotools eclass + # Here translate the autoconf.sh, equivalent to the following code + # > sh autoconf.sh + + # Autoconf in root ... + eautoconf + + # Precompiling lexor_keyword.gperf + gperf -o -i 7 -C -k 1-4,6,9,\$ -H keyword_hash -N check_identifier -t ./lexor_keyword.gperf \ + > lexor_keyword.cc || die + # Precompiling vhdlpp/lexor_keyword.gperf + cd vhdlpp || die + gperf -o -i 7 --ignore-case -C -k 1-4,6,9,\$ -H keyword_hash -N check_identifier -t ./lexor_keyword.gperf \ + > lexor_keyword.cc || die +} + +src_install() { + local DOCS=( *.txt ) + + default + + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples +} diff --git a/sci-electronics/iverilog/iverilog-9999.ebuild b/sci-electronics/iverilog/iverilog-9999.ebuild index de6fe18b47c9..43fe2c27ba04 100644 --- a/sci-electronics/iverilog/iverilog-9999.ebuild +++ b/sci-electronics/iverilog/iverilog-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit autotools @@ -47,10 +47,12 @@ src_prepare() { eautoconf # Precompiling lexor_keyword.gperf - gperf -o -i 7 -C -k 1-4,6,9,\$ -H keyword_hash -N check_identifier -t ./lexor_keyword.gperf > lexor_keyword.cc || die + gperf -o -i 7 -C -k 1-4,6,9,\$ -H keyword_hash -N check_identifier -t ./lexor_keyword.gperf \ + > lexor_keyword.cc || die # Precompiling vhdlpp/lexor_keyword.gperf cd vhdlpp || die - gperf -o -i 7 --ignore-case -C -k 1-4,6,9,\$ -H keyword_hash -N check_identifier -t ./lexor_keyword.gperf > lexor_keyword.cc || die + gperf -o -i 7 --ignore-case -C -k 1-4,6,9,\$ -H keyword_hash -N check_identifier -t ./lexor_keyword.gperf \ + > lexor_keyword.cc || die } src_install() { |