diff options
author | Akinori Hattori <hattya@gentoo.org> | 2021-11-03 21:47:18 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2021-11-03 21:47:52 +0900 |
commit | 6111feda915c61a22bd00564f7370c2d3923dbbf (patch) | |
tree | b4b1f3e73c98670a1cdd728103fa5754aee4ba7e /app-i18n/zinnia | |
parent | app-i18n/zinnia: update patches (diff) | |
download | gentoo-6111feda915c61a22bd00564f7370c2d3923dbbf.tar.gz gentoo-6111feda915c61a22bd00564f7370c2d3923dbbf.tar.bz2 gentoo-6111feda915c61a22bd00564f7370c2d3923dbbf.zip |
app-i18n/zinnia: update to EAPI 8
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-i18n/zinnia')
-rw-r--r-- | app-i18n/zinnia/zinnia-0.06-r3.ebuild | 31 |
1 files changed, 10 insertions, 21 deletions
diff --git a/app-i18n/zinnia/zinnia-0.06-r3.ebuild b/app-i18n/zinnia/zinnia-0.06-r3.ebuild index 3dd317b48c59..383852add5d2 100644 --- a/app-i18n/zinnia/zinnia-0.06-r3.ebuild +++ b/app-i18n/zinnia/zinnia-0.06-r3.ebuild @@ -1,7 +1,7 @@ # Copyright 2010-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI="8" inherit autotools flag-o-matic perl-module toolchain-funcs @@ -20,20 +20,14 @@ PATCHES=( "${FILESDIR}"/${P}-perl.patch ) -DOCS=(AUTHORS) +HTML_DOCS=( doc/{index{,-ja}.html,${PN}.css} ) src_prepare() { default - mv configure.in configure.ac || die - sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die - eautoreconf + sed -i "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" configure.in || die - if use perl; then - pushd perl > /dev/null - PATCHES=() - perl-module_src_prepare - popd > /dev/null - fi + mv configure.{in,ac} || die + eautoreconf } src_configure() { @@ -44,8 +38,7 @@ src_compile() { default if use perl; then - pushd perl > /dev/null - + cd perl >/dev/null || die # We need to run this here as otherwise it won't pick up the # just-built -lzinnia and cause the extension to have # undefined symbols. @@ -60,7 +53,7 @@ src_compile() { OPTIMIZE="${CPPFLAGS} ${CXXFLAGS}" \ LDDLFLAGS="-shared" \ OTHERLDFLAGS="${LDFLAGS}" - popd > /dev/null + cd - >/dev/null || die fi } @@ -70,16 +63,12 @@ src_test() { src_install() { default + einstalldocs find "${D}" -name "*.la" -delete || die if use perl; then - pushd perl > /dev/null + cd perl >/dev/null || die perl-module_src_install - popd > /dev/null + cd - >/dev/null || die fi - - ( - docinto html - dodoc doc/*.css doc/*.html - ) } |