aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/bluespec/bluespec-2022.01.ebuild12
-rw-r--r--sci-electronics/bluespec/bluespec-9999.ebuild12
2 files changed, 14 insertions, 10 deletions
diff --git a/sci-electronics/bluespec/bluespec-2022.01.ebuild b/sci-electronics/bluespec/bluespec-2022.01.ebuild
index b16ee8ddb..1ac42d567 100644
--- a/sci-electronics/bluespec/bluespec-2022.01.ebuild
+++ b/sci-electronics/bluespec/bluespec-2022.01.ebuild
@@ -49,6 +49,7 @@ BDEPEND="
dev-util/gperf
doc? (
dev-ruby/asciidoctor
+ dev-ruby/asciidoctor-pdf
dev-texlive/texlive-bibtexextra
dev-texlive/texlive-fontsextra
dev-texlive/texlive-fontutils
@@ -99,16 +100,17 @@ src_compile() {
src_test() {
emake check-smoke
- emake -c testsuite check
+ emake -C testsuite check
}
src_install() {
# From https://github.com/B-Lang-org/bsc/blob/main/INSTALL.md,
# upstream recommend placing the inst directory at
# the path /usr/share/bsc/bsc-<VERSION> for multi-version.
- local PREFIX="${ED}"/usr/share/bsc/bsc-"${PV}"
- mkdir -p "${PREFIX}" || die
- cp -dr --preserve=mode,timestamp "${S}"/inst/* "${PREFIX}"/ || die
- insinto "${PREFIX}"/vimfiles
+ local INSTALL_PATH=/usr/share/bsc/bsc-"${PV}"
+ local ED_INSTALL_PATH="${ED}${INSTALL_PATH}"
+ mkdir -p "${ED_INSTALL_PATH}" || die
+ cp -dr --preserve=mode,timestamp "${S}"/inst/* "${ED_INSTALL_PATH}"/ || die
+ insinto "${INSTALL_PATH}"/vimfiles
doins -r "${S}"/util/vim/{ftdetect,indent,syntax}
}
diff --git a/sci-electronics/bluespec/bluespec-9999.ebuild b/sci-electronics/bluespec/bluespec-9999.ebuild
index b16ee8ddb..1ac42d567 100644
--- a/sci-electronics/bluespec/bluespec-9999.ebuild
+++ b/sci-electronics/bluespec/bluespec-9999.ebuild
@@ -49,6 +49,7 @@ BDEPEND="
dev-util/gperf
doc? (
dev-ruby/asciidoctor
+ dev-ruby/asciidoctor-pdf
dev-texlive/texlive-bibtexextra
dev-texlive/texlive-fontsextra
dev-texlive/texlive-fontutils
@@ -99,16 +100,17 @@ src_compile() {
src_test() {
emake check-smoke
- emake -c testsuite check
+ emake -C testsuite check
}
src_install() {
# From https://github.com/B-Lang-org/bsc/blob/main/INSTALL.md,
# upstream recommend placing the inst directory at
# the path /usr/share/bsc/bsc-<VERSION> for multi-version.
- local PREFIX="${ED}"/usr/share/bsc/bsc-"${PV}"
- mkdir -p "${PREFIX}" || die
- cp -dr --preserve=mode,timestamp "${S}"/inst/* "${PREFIX}"/ || die
- insinto "${PREFIX}"/vimfiles
+ local INSTALL_PATH=/usr/share/bsc/bsc-"${PV}"
+ local ED_INSTALL_PATH="${ED}${INSTALL_PATH}"
+ mkdir -p "${ED_INSTALL_PATH}" || die
+ cp -dr --preserve=mode,timestamp "${S}"/inst/* "${ED_INSTALL_PATH}"/ || die
+ insinto "${INSTALL_PATH}"/vimfiles
doins -r "${S}"/util/vim/{ftdetect,indent,syntax}
}