[dev-libs/Ice] more pkgcheck junk

This commit is contained in:
Robert Förster 2022-06-27 17:46:08 +02:00
parent 9d8d0cb23a
commit 9809350047
4 changed files with 57 additions and 29 deletions

View File

@ -86,12 +86,7 @@ src_prepare() {
src_configure() { src_configure() {
MAKE_RULES=( MAKE_RULES=(
"prefix=\"${EPREFIX}/usr\""
"install_docdir=\"${EPREFIX}/usr/share/doc/${PF}\""
"install_configdir=\"${EPREFIX}/usr/share/${P}/config\""
"install_mandir=\"${EPREFIX}/usr/share/man/man1\""
"embedded_runpath_prefix=\"${EPREFIX}/usr\"" "embedded_runpath_prefix=\"${EPREFIX}/usr\""
"new_dtags=yes"
"OPTIMIZE=$(usex !debug)" "OPTIMIZE=$(usex !debug)"
"V=1" "V=1"
) )
@ -188,10 +183,17 @@ src_install() {
use doc && DOCS+=( "${DISTDIR}/${PN}-3.7.1.pdf" ) use doc && DOCS+=( "${DISTDIR}/${PN}-3.7.1.pdf" )
einstalldocs einstalldocs
MAKE_RULES_INSTALL=(
"prefix=\"${ED}/usr\""
"install_docdir=\"${ED}/usr/share/doc/${PF}\""
"install_configdir=\"${ED}/usr/share/${P}/config\""
"install_mandir=\"${ED}/usr/share/man/man1\""
)
insinto /usr/share/${P} insinto /usr/share/${P}
doins -r slice doins -r slice
emake -C cpp "${MAKE_RULES[@]}" install emake -C cpp "${MAKE_RULES[@]}" "${MAKE_RULES_INSTALL[@]}" install
if use examples; then if use examples; then
docinto examples-cpp docinto examples-cpp
@ -234,6 +236,7 @@ src_install() {
emake -C "${BUILD_DIR}" \ emake -C "${BUILD_DIR}" \
"${MAKE_RULES[@]}" \ "${MAKE_RULES[@]}" \
"${MAKE_RULES_INSTALL[@]}" \
install_pythondir="\"${D}/$(python_get_sitedir)\"" \ install_pythondir="\"${D}/$(python_get_sitedir)\"" \
install_libdir="\"${D}/$(python_get_sitedir)\"" \ install_libdir="\"${D}/$(python_get_sitedir)\"" \
install install
@ -244,7 +247,11 @@ src_install() {
fi fi
if use ruby; then if use ruby; then
MAKE_RULES_RUBY=(
"install_rubydir=\"${ED}/${SITERUBY}\""
"install_rubylibdir=\"${ED}/${SITERUBYARCH}\""
)
dodir "${SITERUBY}" dodir "${SITERUBY}"
emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_RUBY[@]}" install emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_INSTALL[@]}" "${MAKE_RULES_RUBY[@]}" install
fi fi
} }

View File

@ -86,12 +86,7 @@ src_prepare() {
src_configure() { src_configure() {
MAKE_RULES=( MAKE_RULES=(
"prefix=\"${EPREFIX}/usr\""
"install_docdir=\"${EPREFIX}/usr/share/doc/${PF}\""
"install_configdir=\"${EPREFIX}/usr/share/${P}/config\""
"install_mandir=\"${EPREFIX}/usr/share/man/man1\""
"embedded_runpath_prefix=\"${EPREFIX}/usr\"" "embedded_runpath_prefix=\"${EPREFIX}/usr\""
"new_dtags=yes"
"OPTIMIZE=$(usex !debug)" "OPTIMIZE=$(usex !debug)"
"V=1" "V=1"
) )
@ -188,10 +183,17 @@ src_install() {
use doc && DOCS+=( "${DISTDIR}/${PN}-3.7.1.pdf" ) use doc && DOCS+=( "${DISTDIR}/${PN}-3.7.1.pdf" )
einstalldocs einstalldocs
MAKE_RULES_INSTALL=(
"prefix=\"${ED}/usr\""
"install_docdir=\"${ED}/usr/share/doc/${PF}\""
"install_configdir=\"${ED}/usr/share/${P}/config\""
"install_mandir=\"${ED}/usr/share/man/man1\""
)
insinto /usr/share/${P} insinto /usr/share/${P}
doins -r slice doins -r slice
emake -C cpp "${MAKE_RULES[@]}" install emake -C cpp "${MAKE_RULES[@]}" "${MAKE_RULES_INSTALL[@]}" install
if use examples; then if use examples; then
docinto examples-cpp docinto examples-cpp
@ -234,6 +236,7 @@ src_install() {
emake -C "${BUILD_DIR}" \ emake -C "${BUILD_DIR}" \
"${MAKE_RULES[@]}" \ "${MAKE_RULES[@]}" \
"${MAKE_RULES_INSTALL[@]}" \
install_pythondir="\"${D}/$(python_get_sitedir)\"" \ install_pythondir="\"${D}/$(python_get_sitedir)\"" \
install_libdir="\"${D}/$(python_get_sitedir)\"" \ install_libdir="\"${D}/$(python_get_sitedir)\"" \
install install
@ -244,7 +247,11 @@ src_install() {
fi fi
if use ruby; then if use ruby; then
MAKE_RULES_RUBY=(
"install_rubydir=\"${ED}/${SITERUBY}\""
"install_rubylibdir=\"${ED}/${SITERUBYARCH}\""
)
dodir "${SITERUBY}" dodir "${SITERUBY}"
emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_RUBY[@]}" install emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_INSTALL[@]}" "${MAKE_RULES_RUBY[@]}" install
fi fi
} }

View File

@ -86,12 +86,7 @@ src_prepare() {
src_configure() { src_configure() {
MAKE_RULES=( MAKE_RULES=(
"prefix=\"${EPREFIX}/usr\""
"install_docdir=\"${EPREFIX}/usr/share/doc/${PF}\""
"install_configdir=\"${EPREFIX}/usr/share/${P}/config\""
"install_mandir=\"${EPREFIX}/usr/share/man/man1\""
"embedded_runpath_prefix=\"${EPREFIX}/usr\"" "embedded_runpath_prefix=\"${EPREFIX}/usr\""
"new_dtags=yes"
"OPTIMIZE=$(usex !debug)" "OPTIMIZE=$(usex !debug)"
"V=1" "V=1"
) )
@ -188,10 +183,17 @@ src_install() {
use doc && DOCS+=( "${DISTDIR}/${PN}-3.7.1.pdf" ) use doc && DOCS+=( "${DISTDIR}/${PN}-3.7.1.pdf" )
einstalldocs einstalldocs
MAKE_RULES_INSTALL=(
"prefix=\"${ED}/usr\""
"install_docdir=\"${ED}/usr/share/doc/${PF}\""
"install_configdir=\"${ED}/usr/share/${P}/config\""
"install_mandir=\"${ED}/usr/share/man/man1\""
)
insinto /usr/share/${P} insinto /usr/share/${P}
doins -r slice doins -r slice
emake -C cpp "${MAKE_RULES[@]}" install emake -C cpp "${MAKE_RULES[@]}" "${MAKE_RULES_INSTALL[@]}" install
if use examples; then if use examples; then
docinto examples-cpp docinto examples-cpp
@ -234,6 +236,7 @@ src_install() {
emake -C "${BUILD_DIR}" \ emake -C "${BUILD_DIR}" \
"${MAKE_RULES[@]}" \ "${MAKE_RULES[@]}" \
"${MAKE_RULES_INSTALL[@]}" \
install_pythondir="\"${D}/$(python_get_sitedir)\"" \ install_pythondir="\"${D}/$(python_get_sitedir)\"" \
install_libdir="\"${D}/$(python_get_sitedir)\"" \ install_libdir="\"${D}/$(python_get_sitedir)\"" \
install install
@ -244,7 +247,11 @@ src_install() {
fi fi
if use ruby; then if use ruby; then
MAKE_RULES_RUBY=(
"install_rubydir=\"${ED}/${SITERUBY}\""
"install_rubylibdir=\"${ED}/${SITERUBYARCH}\""
)
dodir "${SITERUBY}" dodir "${SITERUBY}"
emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_RUBY[@]}" install emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_INSTALL[@]}" "${MAKE_RULES_RUBY[@]}" install
fi fi
} }

View File

@ -3,7 +3,7 @@
EAPI=8 EAPI=8
PYTHON_COMPAT=( python3_{8..11} ) PYTHON_COMPAT=( python3_{8..10} )
RUBY_OPTIONAL="yes" RUBY_OPTIONAL="yes"
USE_RUBY="ruby31" USE_RUBY="ruby31"
@ -88,12 +88,7 @@ src_prepare() {
src_configure() { src_configure() {
MAKE_RULES=( MAKE_RULES=(
"prefix=\"${EPREFIX}/usr\""
"install_docdir=\"${EPREFIX}/usr/share/doc/${PF}\""
"install_configdir=\"${EPREFIX}/usr/share/${P}/config\""
"install_mandir=\"${EPREFIX}/usr/share/man/man1\""
"embedded_runpath_prefix=\"${EPREFIX}/usr\"" "embedded_runpath_prefix=\"${EPREFIX}/usr\""
"new_dtags=yes"
"OPTIMIZE=$(usex !debug)" "OPTIMIZE=$(usex !debug)"
"V=1" "V=1"
) )
@ -189,10 +184,17 @@ src_install() {
local DOCS=( CHANGELOG*.md README.md ) local DOCS=( CHANGELOG*.md README.md )
einstalldocs einstalldocs
MAKE_RULES_INSTALL=(
"prefix=\"${ED}/usr\""
"install_docdir=\"${ED}/usr/share/doc/${PF}\""
"install_configdir=\"${ED}/usr/share/${P}/config\""
"install_mandir=\"${ED}/usr/share/man/man1\""
)
insinto /usr/share/${P} insinto /usr/share/${P}
doins -r slice doins -r slice
emake -C cpp "${MAKE_RULES[@]}" install emake -C cpp "${MAKE_RULES[@]}" "${MAKE_RULES_INSTALL[@]}" install
if use examples; then if use examples; then
docinto examples-cpp docinto examples-cpp
@ -235,6 +237,7 @@ src_install() {
emake -C "${BUILD_DIR}" \ emake -C "${BUILD_DIR}" \
"${MAKE_RULES[@]}" \ "${MAKE_RULES[@]}" \
"${MAKE_RULES_INSTALL[@]}" \
install_pythondir="\"${D}/$(python_get_sitedir)\"" \ install_pythondir="\"${D}/$(python_get_sitedir)\"" \
install_libdir="\"${D}/$(python_get_sitedir)\"" \ install_libdir="\"${D}/$(python_get_sitedir)\"" \
install install
@ -245,7 +248,11 @@ src_install() {
fi fi
if use ruby; then if use ruby; then
MAKE_RULES_RUBY=(
"install_rubydir=\"${ED}/${SITERUBY}\""
"install_rubylibdir=\"${ED}/${SITERUBYARCH}\""
)
dodir "${SITERUBY}" dodir "${SITERUBY}"
emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_RUBY[@]}" install emake -C ruby "${MAKE_RULES[@]}" "${MAKE_RULES_INSTALL[@]}" "${MAKE_RULES_RUBY[@]}" install
fi fi
} }