summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD16
2 files changed, 14 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 190d5b1790e..2cca8ef42c4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Tue Sep 10 17:02:48 UTC 2019
+# Wed Sep 25 06:35:35 UTC 2019
pkgbase = ghdl-mcode-git
pkgdesc = VHDL simulator - mcode back-end
- pkgver = 0.37dev.git20190907
+ pkgver = 0.37dev.git20190925
pkgrel = 1
url = https://github.com/ghdl/ghdl
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 2caf21d6ca0..109efdaee5f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Adrien Prost-Boucle <adrien.prost-boucle@laposte.net>
pkgname=ghdl-mcode-git
-pkgver=0.37dev.git20190907
+pkgver=0.37dev.git20190925
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc='VHDL simulator - mcode back-end'
@@ -33,7 +33,11 @@ pkgver() {
build() {
cd "${srcdir}/ghdl"
- ./configure --prefix=/usr/ --enable-synth
+ # Note : Add --enable-openieee to use free (but not complete) implementation of IEEE VHDL libs
+ ./configure \
+ --prefix=/usr/ \
+ --enable-libghdl \
+ --enable-synth
make
@@ -43,7 +47,11 @@ package() {
cd "${srcdir}/ghdl"
make DESTDIR="${pkgdir}" install
- # Install library for synthesis
- make DESTDIR="${pkgdir}" install.libghdlsynth
+
+ # In case it does not exist, create symlink libghdl.so
+ local _gso=`ls "${pkgdir}/usr/lib/" | grep -e '^libghdl-.*\.so$' | head -n 1`
+ if [[ -n "$_gso" ]] ; then
+ ln -s "$_gso" "${pkgdir}/usr/lib/libghdl.so"
+ fi
}