1 |
commit: d975fef8af88f91b7e81904fe2ba2f9597a51bf0 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 22 14:10:06 2012 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 22 14:10:06 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=d975fef8 |
7 |
|
8 |
[dev-util/krazy2] Respect ebuild phases by avoiding automagic install script. |
9 |
|
10 |
(Portage version: 2.1.11.10/git/Linux x86_64, unsigned Manifest commit) |
11 |
|
12 |
--- |
13 |
dev-util/krazy2/krazy2-9999.ebuild | 28 ++++++++++++++++++---------- |
14 |
1 files changed, 18 insertions(+), 10 deletions(-) |
15 |
|
16 |
diff --git a/dev-util/krazy2/krazy2-9999.ebuild b/dev-util/krazy2/krazy2-9999.ebuild |
17 |
index bb0da4e..26546c0 100644 |
18 |
--- a/dev-util/krazy2/krazy2-9999.ebuild |
19 |
+++ b/dev-util/krazy2/krazy2-9999.ebuild |
20 |
@@ -20,10 +20,12 @@ DEPEND=" |
21 |
>=dev-perl/Tie-IxHash-1.20 |
22 |
>=dev-perl/XML-LibXML-1.57 |
23 |
dev-perl/yaml |
24 |
+ >=x11-libs/qt-core-4.4:4 |
25 |
>=x11-libs/qt-gui-4.4:4 |
26 |
" |
27 |
RDEPEND="${DEPEND} |
28 |
dev-util/desktop-file-utils |
29 |
+ virtual/perl-ExtUtils-MakeMaker |
30 |
" |
31 |
|
32 |
CMAKE_USE_DIR="${S}/cppchecks" |
33 |
@@ -32,8 +34,6 @@ src_prepare() { |
34 |
sed -i -e 's/+= ordered/+= ordered nostrip/' \ |
35 |
src/src.pro || die "failed to apply nostrip" |
36 |
|
37 |
- sed -i "s:$TOP/lib:$TOP/$(get_libdir):" install.sh || die "sed failed" |
38 |
- |
39 |
sed -i "s:lib\$(LIBSUFFIX):$(get_libdir):" src/passbyvalue/passbyvalue.pro || die "sed failed" |
40 |
|
41 |
base_src_prepare |
42 |
@@ -41,14 +41,14 @@ src_prepare() { |
43 |
|
44 |
src_configure() { |
45 |
use cxx && cmake-utils_src_configure |
46 |
- cd src |
47 |
- eqmake4 src.pro |
48 |
+ perl-module_src_configure |
49 |
+ eqmake4 src/src.pro |
50 |
} |
51 |
|
52 |
src_compile() { |
53 |
use cxx && cmake-utils_src_compile |
54 |
- cd src |
55 |
- emake |
56 |
+ perl-module_src_compile |
57 |
+ emake -C src |
58 |
} |
59 |
|
60 |
src_install() { |
61 |
@@ -56,9 +56,17 @@ src_install() { |
62 |
|
63 |
use cxx && cmake-utils_src_install |
64 |
|
65 |
- cd src |
66 |
- emake install INSTALL_ROOT="${D}/usr" |
67 |
- cd .. |
68 |
+ perl-module_src_install |
69 |
+ |
70 |
+ emake -C src install INSTALL_ROOT="${D}/usr" |
71 |
+ emake -C extras install PREFIX="${D}/usr" |
72 |
+ emake -C helpers install PREFIX="${D}/usr" |
73 |
+ emake -C sets install PREFIX="${D}/usr" |
74 |
+ emake -C plugins install DESTDIR="${D}/usr" |
75 |
+ |
76 |
+ insinto /usr/share/dtd |
77 |
+ doins share/*.* |
78 |
|
79 |
- ./install.sh "${D}/usr" || die "install failed" |
80 |
+ insinto /usr/share/xsl |
81 |
+ doins stylesheets/*.* |
82 |
} |