1 |
commit: b2c4e37940a144df8e84ed76d3e82f8d6996a740 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 26 07:37:12 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 26 07:56:20 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2c4e379 |
7 |
|
8 |
app-text/chasen: QA fixes |
9 |
|
10 |
double / in SRC_URI |
11 |
use default() |
12 |
add missing die |
13 |
use prune_libtool_files instead of find -delete |
14 |
|
15 |
Package-Manager: portage-2.2.22 |
16 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
17 |
|
18 |
app-text/chasen/chasen-2.4.4-r3.ebuild | 25 +++++++++++-------------- |
19 |
1 file changed, 11 insertions(+), 14 deletions(-) |
20 |
|
21 |
diff --git a/app-text/chasen/chasen-2.4.4-r3.ebuild b/app-text/chasen/chasen-2.4.4-r3.ebuild |
22 |
index 3292f52..a6eebbf 100644 |
23 |
--- a/app-text/chasen/chasen-2.4.4-r3.ebuild |
24 |
+++ b/app-text/chasen/chasen-2.4.4-r3.ebuild |
25 |
@@ -1,13 +1,14 @@ |
26 |
-# Copyright 1999-2014 Gentoo Foundation |
27 |
+# Copyright 1999-2015 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
# $Id$ |
30 |
|
31 |
EAPI="5" |
32 |
-inherit perl-module |
33 |
+ |
34 |
+inherit eutils perl-module |
35 |
|
36 |
DESCRIPTION="Japanese Morphological Analysis System, ChaSen" |
37 |
HOMEPAGE="http://chasen-legacy.sourceforge.jp/" |
38 |
-SRC_URI="mirror://sourceforge.jp//chasen-legacy/32224/${P}.tar.gz" |
39 |
+SRC_URI="mirror://sourceforge.jp/chasen-legacy/32224/${P}.tar.gz" |
40 |
|
41 |
LICENSE="BSD" |
42 |
SLOT="0" |
43 |
@@ -32,33 +33,29 @@ src_configure() { |
44 |
} |
45 |
|
46 |
src_compile() { |
47 |
- emake || die |
48 |
+ default |
49 |
if use perl ; then |
50 |
- cd "${S}"/perl |
51 |
+ cd "${S}"/perl || die |
52 |
perl-module_src_compile |
53 |
fi |
54 |
} |
55 |
|
56 |
src_test() { |
57 |
- emake check || die |
58 |
+ default |
59 |
if use perl ; then |
60 |
- cd "${S}"/perl |
61 |
+ cd "${S}"/perl || die |
62 |
perl-module_src_test |
63 |
fi |
64 |
} |
65 |
|
66 |
src_install () { |
67 |
- emake DESTDIR="${D}" install || die |
68 |
- |
69 |
- dodoc AUTHORS ChangeLog NEWS README |
70 |
+ default |
71 |
|
72 |
if use perl ; then |
73 |
- cd "${S}"/perl |
74 |
+ cd "${S}"/perl || die |
75 |
perl-module_src_install |
76 |
newdoc README README.perl |
77 |
fi |
78 |
|
79 |
- if ! use static-libs ; then |
80 |
- find "${ED}" -name '*.la' -delete |
81 |
- fi |
82 |
+ prune_libtool_files |
83 |
} |