Lines 7-13
Link Here
|
7 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
7 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
8 |
|
8 |
|
9 |
GENTOO_DEPEND_ON_PERL="no" |
9 |
GENTOO_DEPEND_ON_PERL="no" |
10 |
inherit base eutils cmake-utils perl-module python-any-r1 |
10 |
inherit base eutils cmake-utils perl-module python-any-r1 multilib-minimal |
11 |
|
11 |
|
12 |
DESCRIPTION="Library providing rendering capabilities for complex non-Roman writing systems" |
12 |
DESCRIPTION="Library providing rendering capabilities for complex non-Roman writing systems" |
13 |
HOMEPAGE="http://graphite.sil.org/" |
13 |
HOMEPAGE="http://graphite.sil.org/" |
Lines 62-68
Link Here
|
62 |
fi |
62 |
fi |
63 |
} |
63 |
} |
64 |
|
64 |
|
65 |
src_configure() { |
65 |
multilib_src_configure() { |
66 |
local mycmakeargs=( |
66 |
local mycmakeargs=( |
67 |
"-DVM_MACHINE_TYPE=direct" |
67 |
"-DVM_MACHINE_TYPE=direct" |
68 |
# http://sourceforge.net/p/silgraphite/bugs/49/ |
68 |
# http://sourceforge.net/p/silgraphite/bugs/49/ |
Lines 73-100
Link Here
|
73 |
cmake-utils_src_configure |
73 |
cmake-utils_src_configure |
74 |
} |
74 |
} |
75 |
|
75 |
|
76 |
src_compile() { |
76 |
multilib_src_compile() { |
77 |
cmake-utils_src_compile |
77 |
cmake-utils_src_compile |
78 |
if use perl; then |
78 |
if multilib_is_native_abi && use perl; then |
79 |
cd contrib/perl |
79 |
cd "${S}"/contrib/perl || die |
80 |
perl-module_src_prep |
80 |
perl-module_src_prep |
81 |
perl-module_src_compile |
81 |
perl-module_src_compile |
82 |
fi |
82 |
fi |
83 |
} |
83 |
} |
84 |
|
84 |
|
85 |
src_test() { |
85 |
multilib_src_test() { |
86 |
cmake-utils_src_test |
86 |
cmake-utils_src_test |
87 |
if use perl; then |
87 |
if multilib_is_native_abi && use perl; then |
88 |
cd contrib/perl |
88 |
cd "${S}"/contrib/perl || die |
89 |
perl-module_src_test |
89 |
perl-module_src_test |
90 |
fi |
90 |
fi |
91 |
} |
91 |
} |
92 |
|
92 |
|
93 |
src_install() { |
93 |
multilib_src_install() { |
94 |
cmake-utils_src_install |
94 |
cmake-utils_src_install |
95 |
if use perl; then |
95 |
if multilib_is_native_abi && use perl; then |
96 |
cd contrib/perl |
96 |
cd "${S}"/contrib/perl || die |
97 |
perl-module_src_install |
97 |
perl-module_src_install |
|
|
98 |
fi |
99 |
} |
100 |
|
101 |
multilib_src_install_all() { |
102 |
if use perl; then |
98 |
fixlocalpod |
103 |
fixlocalpod |
99 |
fi |
104 |
fi |
100 |
|
105 |
|