diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-09-26 09:37:12 +0200 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-09-26 09:56:20 +0200 |
commit | b2c4e37940a144df8e84ed76d3e82f8d6996a740 (patch) | |
tree | 42a7d7f937b9243760239799d7b7cd0323991d19 /app-text/chasen/chasen-2.4.4-r3.ebuild | |
parent | dev-perl/Alien-SDL: Stable for HPPA (bug #560230). (diff) | |
download | gentoo-b2c4e37940a144df8e84ed76d3e82f8d6996a740.tar.gz gentoo-b2c4e37940a144df8e84ed76d3e82f8d6996a740.tar.bz2 gentoo-b2c4e37940a144df8e84ed76d3e82f8d6996a740.zip |
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 <jlec@gentoo.org>
Diffstat (limited to 'app-text/chasen/chasen-2.4.4-r3.ebuild')
-rw-r--r-- | app-text/chasen/chasen-2.4.4-r3.ebuild | 25 |
1 files 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 } |