From 49d36e9793573ab563c841fc0aebeb7d62c58859 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 24 Aug 2023 03:50:36 +0100 Subject: gentoo auto-resync : 24:08:2023 - 03:50:35 --- sci-electronics/nvc/nvc-1.9.2.ebuild | 108 ----------------------------------- 1 file changed, 108 deletions(-) delete mode 100644 sci-electronics/nvc/nvc-1.9.2.ebuild (limited to 'sci-electronics/nvc/nvc-1.9.2.ebuild') diff --git a/sci-electronics/nvc/nvc-1.9.2.ebuild b/sci-electronics/nvc/nvc-1.9.2.ebuild deleted file mode 100644 index 38a4bfa346de..000000000000 --- a/sci-electronics/nvc/nvc-1.9.2.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools bash-completion-r1 llvm - -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 - -LICENSE="GPL-3+" -SLOT="0" -IUSE="debug jit llvm" -REQUIRED_USE="jit? ( 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? ( sys-devel/llvm:= ) -" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - dev-libs/check - sys-devel/flex -" - -NVC_BUILDDIR="${NVC_SOURCEDIR}_BuildDir" -S="${NVC_BUILDDIR}" - -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_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() { - local ECONF_SOURCE="${NVC_SOURCEDIR}" - local -a myconf=( - --enable-verilog - --enable-vital - --with-bash-completion="$(get_bashcompdir)" - $(use_enable debug) - $(use_enable jit) - $(use_enable llvm) - ) - econf "${myconf[@]}" - - export V=1 # Verbose compilation and install. -} - -src_compile() { - emake -j1 -} - -src_test() { - emake check -} - -src_install() { - default - - mv "${ED}"/"$(get_bashcompdir)"/nvc{.bash,} || die - - dostrip -x /usr/$(get_libdir)/nvc -} -- cgit v1.2.3