diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2017-09-13 19:12:22 +0200 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2017-09-13 15:24:27 -0400 |
commit | 8bd88c401a86974072140b784328550999ad633a (patch) | |
tree | 126f701928bb99d2393cf742a9d172c6544beb78 | |
parent | e275f194950e7e84e97684aca1b0aa1d5a81cd18 (diff) | |
download | gentoo-8bd88c401a86974072140b784328550999ad633a.tar.gz gentoo-8bd88c401a86974072140b784328550999ad633a.tar.xz |
app-i18n/zinnia-tomoe: Port to EAPI="6".
-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 } |