diff options
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/nvc/Manifest | 1 | ||||
-rw-r--r-- | sci-electronics/nvc/nvc-1.14.0.ebuild | 116 |
2 files changed, 0 insertions, 117 deletions
diff --git a/sci-electronics/nvc/Manifest b/sci-electronics/nvc/Manifest index 241998853fd3..7692ba75a793 100644 --- a/sci-electronics/nvc/Manifest +++ b/sci-electronics/nvc/Manifest @@ -1,2 +1 @@ -DIST nvc-1.14.0.tar.gz 2030838 BLAKE2B e8c3e98077efcd1f024a70bb7a39e0cc1333b0ecf5e372f12eea5660e5a2907fbb660b7b5ee6ae7bf691f02134c4da898905baee650efae87839732565d7ece4 SHA512 6d498bfef7a3fc69784c93ce5799db401993802b54554be04da5f4872a2965066a0e93a0a98d2d7de07c4bcf1ecef7b11f6360b6bac392e9ad34875656d49db0 DIST nvc-1.14.1.tar.gz 2033076 BLAKE2B 8c17d08aaf01d8dec293530b9e28e37261396e846433a574532e7d1c68bd13424879e25a00e186e46523fa73b9e731a624088312c8133b3fa0d5626f42681d8b SHA512 13648a8c9b952a64c0ec053f733f359ee138a0a3f02ac160ed8d7ac2ace0db658a9092695229a0fe6d1bebf7bae4386969b6b2883e720ae6f4e8ab8098960cc2 diff --git a/sci-electronics/nvc/nvc-1.14.0.ebuild b/sci-electronics/nvc/nvc-1.14.0.ebuild deleted file mode 100644 index 326d6b674270..000000000000 --- a/sci-electronics/nvc/nvc-1.14.0.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LLVM_COMPAT=( {17..18} ) - -inherit autotools bash-completion-r1 llvm-r1 - -DESCRIPTION="NVC is a VHDL compiler and simulator" -HOMEPAGE="https://www.nickg.me.uk/nvc/ - https://github.com/nickg/nvc/" - -if [[ "${PV}" == *9999* ]] ; then - inherit git-r3 - - EGIT_REPO_URI="https://github.com/nickg/nvc.git" - - NVC_SOURCEDIR="${WORKDIR}/${PN}-${PV}" -else - SRC_URI="https://github.com/nickg/nvc/archive/r${PV}.tar.gz - -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" - - NVC_SOURCEDIR="${WORKDIR}/${PN}-r${PV}" -fi - -NVC_BUILDDIR="${NVC_SOURCEDIR}_BuildDir" -S="${NVC_BUILDDIR}" - -LICENSE="GPL-3+" -SLOT="0" -IUSE="debug llvm" -RESTRICT="test" # Some tests fail. - -RDEPEND=" - app-arch/bzip2:= - app-arch/zstd:= - dev-libs/capstone:= - dev-libs/elfutils - dev-libs/icu:= - dev-libs/libffi:= - dev-libs/libxml2:= - sys-libs/ncurses:= - sys-libs/zlib:= - llvm? ( - $(llvm_gen_dep ' - sys-devel/llvm:${LLVM_SLOT}= - ') - ) -" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - dev-libs/check - sys-apps/which - sys-devel/bison - sys-devel/flex -" - -PATCHES=( "${FILESDIR}/nvc-1.9.2-jit-code-capstone.patch" ) - -# Special libraries for NVC. -QA_FLAGS_IGNORED="usr/lib[0-9]*/nvc/preload[0-9]*.so" - -pkg_setup() { - use llvm && llvm-r1_pkg_setup -} - -src_unpack() { - default - - mkdir -p "${S}" || die -} - -src_prepare() { - pushd "${NVC_SOURCEDIR}" >/dev/null || die - - default - eautoreconf - - popd >/dev/null || die -} - -src_configure() { - # Needs "bison" and "flex" exactly. - unset LEX - unset YACC - - local ECONF_SOURCE="${NVC_SOURCEDIR}" - local -a myconf=( - --enable-vital - --with-bash-completion="$(get_bashcompdir)" - $(use_enable debug) - $(use_enable llvm) - ) - econf "${myconf[@]}" - - export V=1 # Verbose compilation and install. -} - -src_compile() { - emake -j1 -} - -src_test() { - PATH="${S}/bin:${PATH}" emake check-TESTS -} - -src_install() { - default - - mv "${D}/$(get_bashcompdir)"/nvc{.bash,} || die - dostrip -x "/usr/$(get_libdir)/nvc" -} |