From b2c4e37940a144df8e84ed76d3e82f8d6996a740 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sat, 26 Sep 2015 09:37:12 +0200 Subject: [PATCH] app-text/chasen: QA fixes double / in SRC_URI use default() add missing die use prune_libtool_files instead of find -delete Package-Manager: portage-2.2.22 Signed-off-by: Justin Lecher --- app-text/chasen/chasen-2.4.4-r3.ebuild | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/app-text/chasen/chasen-2.4.4-r3.ebuild b/app-text/chasen/chasen-2.4.4-r3.ebuild index 3292f52b5b7e..a6eebbf0cc07 100644 --- a/app-text/chasen/chasen-2.4.4-r3.ebuild +++ b/app-text/chasen/chasen-2.4.4-r3.ebuild @@ -1,13 +1,14 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI="5" -inherit perl-module + +inherit eutils perl-module DESCRIPTION="Japanese Morphological Analysis System, ChaSen" HOMEPAGE="http://chasen-legacy.sourceforge.jp/" -SRC_URI="mirror://sourceforge.jp//chasen-legacy/32224/${P}.tar.gz" +SRC_URI="mirror://sourceforge.jp/chasen-legacy/32224/${P}.tar.gz" LICENSE="BSD" SLOT="0" @@ -32,33 +33,29 @@ src_configure() { } src_compile() { - emake || die + default if use perl ; then - cd "${S}"/perl + cd "${S}"/perl || die perl-module_src_compile fi } src_test() { - emake check || die + default if use perl ; then - cd "${S}"/perl + cd "${S}"/perl || die perl-module_src_test fi } src_install () { - emake DESTDIR="${D}" install || die - - dodoc AUTHORS ChangeLog NEWS README + default if use perl ; then - cd "${S}"/perl + cd "${S}"/perl || die perl-module_src_install newdoc README README.perl fi - if ! use static-libs ; then - find "${ED}" -name '*.la' -delete - fi + prune_libtool_files } -- 2.26.2