aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuang Rui <vowstar@gmail.com>2022-08-28 22:41:42 +0800
committerHuang Rui <vowstar@gmail.com>2022-08-28 22:41:42 +0800
commitf6847ec1b6d5812b07d1b9729c39c07070a07fd8 (patch)
tree96db36b4bd4af8c154e352e3074112edf683f228 /sci-electronics
parentdev-ruby/asciidoctor-pdf: new package, add 2.3.0 (diff)
downloadguru-f6847ec1b6d5812b07d1b9729c39c07070a07fd8.tar.gz
guru-f6847ec1b6d5812b07d1b9729c39c07070a07fd8.tar.bz2
guru-f6847ec1b6d5812b07d1b9729c39c07070a07fd8.zip
sci-electronics/bluespec: fix doc build and install path
Signed-off-by: Huang Rui <vowstar@gmail.com>
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}
}