diff options
-rw-r--r-- | app-i18n/zinnia-tomoe/zinnia-tomoe-0.6.0_p20080911.ebuild | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/app-i18n/zinnia-tomoe/zinnia-tomoe-0.6.0_p20080911.ebuild b/app-i18n/zinnia-tomoe/zinnia-tomoe-0.6.0_p20080911.ebuild index a0749df3625..4c7cac54699 100644 --- a/app-i18n/zinnia-tomoe/zinnia-tomoe-0.6.0_p20080911.ebuild +++ b/app-i18n/zinnia-tomoe/zinnia-tomoe-0.6.0_p20080911.ebuild @@ -1,16 +1,14 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI="6" -AUTOTOOLS_AUTORECONF=1 +inherit autotools -inherit autotools-utils multilib - -MY_P=${P/_p/-} +MY_P="${P/_p/-}" DESCRIPTION="Handwriting model files trained with Tomoe data" -HOMEPAGE="http://zinnia.sourceforge.net/index.html" +HOMEPAGE="https://taku910.github.io/zinnia/ https://github.com/taku910/zinnia https://sourceforge.net/projects/zinnia/" SRC_URI="mirror://sourceforge/zinnia/${MY_P}.tar.bz2" LICENSE="LGPL-2.1" @@ -21,11 +19,13 @@ IUSE="" DEPEND="app-i18n/zinnia" RDEPEND="${DEPEND}" -S="${WORKDIR}"/${MY_P} +S="${WORKDIR}/${MY_P}" -AUTOTOOLS_IN_SOURCE_BUILD=1 +DOCS=(AUTHORS) src_prepare() { - sed -i -e "/^modeldir/s/lib/$(get_libdir)/" Makefile.am || die - autotools-utils_src_prepare + default + mv configure.in configure.ac || die + sed -e "/^modeldir[[:space:]]*=/s/lib/$(get_libdir)/" -i Makefile.am || die + eautoreconf } |