diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-11-04 00:00:21 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-11-04 01:19:31 +0100 |
commit | 0ee8436492df2b4111bb2b894734e5f6e1b3d297 (patch) | |
tree | e02bbe1a3d515ff2f55f90640153601165955a7b /sci-electronics | |
parent | net-misc/ytmdl: drop old 2024.04.14 (diff) | |
download | gentoo-0ee8436492df2b4111bb2b894734e5f6e1b3d297.tar.gz gentoo-0ee8436492df2b4111bb2b894734e5f6e1b3d297.tar.bz2 gentoo-0ee8436492df2b4111bb2b894734e5f6e1b3d297.zip |
sci-electronics/ghdl: drop old 4.1.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/ghdl/ghdl-4.1.0.ebuild | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/sci-electronics/ghdl/ghdl-4.1.0.ebuild b/sci-electronics/ghdl/ghdl-4.1.0.ebuild deleted file mode 100644 index 7fb1396f35c1..000000000000 --- a/sci-electronics/ghdl/ghdl-4.1.0.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ADA_COMPAT=( gnat_2021 gcc_13 ) -LLVM_MAX_SLOT=17 # Check "configure" script for supported LLVM versions. - -inherit ada edo llvm toolchain-funcs - -DESCRIPTION="Open-source analyzer, compiler, and simulator for VHDL 2008/93/87" -HOMEPAGE="https://ghdl.github.io/ghdl/ - https://github.com/ghdl/ghdl/" - -if [[ "${PV}" == *9999* ]] ; then - inherit git-r3 - - EGIT_REPO_URI="https://github.com/ghdl/${PN}.git" -else - SRC_URI="https://github.com/ghdl/${PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz" - - KEYWORDS="amd64 ~x86" -fi - -LICENSE="GPL-2+" -SLOT="0" -IUSE="llvm" -REQUIRED_USE="${ADA_REQUIRED_USE}" - -RDEPEND=" - ${ADA_DEPS} - llvm? ( <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):= ) -" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - dev-util/patchelf -" - -PATCHES=( "${FILESDIR}/${PN}-4.0.0_pre20231218-no-pyunit.patch" ) - -pkg_setup() { - ada_pkg_setup - - use llvm && llvm_pkg_setup -} - -src_prepare() { - default - - sed -i "s|ar rc|$(tc-getAR) rc|g" Makefile.in || die -} - -src_configure() { - tc-export CC CXX - - local -a myconf=( - # Build. - --disable-werror - - # Install location. - --libdir=$(get_libdir) - --prefix=/usr - - # Features. - --enable-libghdl - --enable-synth - ) - - if use llvm ; then - myconf+=( --with-llvm-config=llvm-config ) - fi - - # Not a autotools script! - edo sh ./configure "${myconf[@]}" -} - -src_compile() { - default - - patchelf --set-soname libghw.so lib/libghw.so || die -} - -src_install() { - default - - find "${ED}" -type f -name '*.a' -delete || die -} |