ump
This commit is contained in:
3
sci-electronics/ghdl/Manifest
Normal file
3
sci-electronics/ghdl/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
DIST ghdl-2.0.0.tar.gz 6825565 BLAKE2B dd16b53d412230e5d0f6fde4b54e7cad1e9f83f0fc057eada12140994e9149fe30d4cf5fd74ae849c1977a0390cdd9511edd738416f880475df8e66133242f94 SHA512 f4474a7916f9cc5cce976d0b4620d1441c377d72b749867b170397bf62d534983b37d4fc9bb31ef85e40eb7beb9b3a681a7ac32931f665934b357e97e74be6da
|
||||
EBUILD ghdl-2.0.0.ebuild 838 BLAKE2B 1f1c4376fd4ccf51b487c2e7ad9b8ce48c3b709b327d56e098c624f3bf680c9d386012e72644a69d997a47c9456cf127891991b19922876b1b5c6181e9b5cbfc SHA512 a8ab813102ea203473a5b10a7d463248fb9b79c086394c5bbb595c5283dc2638e2eccc23be002ccb75efbab29870af5cd6f130f86e5394d586827800e9f364b3
|
||||
MISC metadata.xml 311 BLAKE2B daf501ec739ff94d860ee7f074813f1d2f7d936fa1fea357b1ec398e42c036094e35fa9661994ecf444e7a6955654655753478e82b45f3a4e1204884e8b83857 SHA512 d789f23c36b96d1ed84b12e68c92c26aa1e5ff7038013561876e2f0986c21b17dc4bfcdc6f6767c16d8408d98638b2d06fe8489038990964fbdcdc66c80ab5cb
|
||||
39
sci-electronics/ghdl/ghdl-2.0.0.ebuild
Normal file
39
sci-electronics/ghdl/ghdl-2.0.0.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
ADA_COMPAT=(gnat_2020 gnat_2021)
|
||||
inherit ada multilib
|
||||
|
||||
DESCRIPTION="VHDL 2008/93/87 simulator"
|
||||
HOMEPAGE="http://ghdl.free.fr/"
|
||||
SRC_URI="https://github.com/ghdl/ghdl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="synth"
|
||||
|
||||
DEPEND="${ADA_DEPS}"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
REQUIRED_USE="${ADA_REQUIRED_USE}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e 's#$(prefix)/lib$#$(prefix)/'"$(get_libdir)"'#g' -i "${S}/Makefile.in" \
|
||||
|| die 'unable to fix library install path'
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
echo $EADA
|
||||
ada_export GCC GNATMAKE
|
||||
./configure --prefix="${EPREFIX}"/usr --disable-werror $(use_enable synth)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ada_export GCC GNATMAKE
|
||||
emake GCC="${GCC}" GNATMAKE="${GNATMAKE}"
|
||||
}
|
||||
11
sci-electronics/ghdl/metadata.xml
Normal file
11
sci-electronics/ghdl/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>me@dblsaiko.net</email>
|
||||
<name>Marco Rebhan</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="synth">Enable synthesis feature</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user