Lines 7-13
EAPI=5
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 eutils cmake-multilib perl-module python-any-r1 |
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 15-21
SRC_URI="mirror://sourceforge/silgraphit
Link Here
|
15 |
|
15 |
|
16 |
LICENSE="LGPL-2.1" |
16 |
LICENSE="LGPL-2.1" |
17 |
SLOT="0" |
17 |
SLOT="0" |
18 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" |
18 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" |
19 |
IUSE="perl test" |
19 |
IUSE="perl test" |
20 |
|
20 |
|
21 |
RDEPEND=" |
21 |
RDEPEND=" |
Lines 44-50
pkg_setup() {
Link Here
|
44 |
} |
44 |
} |
45 |
|
45 |
|
46 |
src_prepare() { |
46 |
src_prepare() { |
47 |
base_src_prepare |
47 |
cmake-utils_src_prepare |
48 |
|
48 |
|
49 |
# fix perl linking |
49 |
# fix perl linking |
50 |
if use perl; then |
50 |
if use perl; then |
Lines 70-99
src_configure() {
Link Here
|
70 |
echo "-DGRAPHITE2_NSEGCACHE:BOOL=ON") |
70 |
echo "-DGRAPHITE2_NSEGCACHE:BOOL=ON") |
71 |
) |
71 |
) |
72 |
|
72 |
|
73 |
cmake-utils_src_configure |
73 |
cmake-multilib_src_configure |
74 |
} |
74 |
} |
75 |
|
75 |
|
76 |
src_compile() { |
76 |
src_compile() { |
77 |
cmake-utils_src_compile |
77 |
cmake-multilib_src_compile |
78 |
if use perl; then |
78 |
if use perl; then |
79 |
cd contrib/perl |
79 |
cd 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 |
src_test() { |
86 |
cmake-utils_src_test |
86 |
cmake-multilib_src_test |
87 |
if use perl; then |
87 |
if use perl; then |
88 |
cd contrib/perl |
88 |
cd 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 |
src_install() { |
94 |
cmake-utils_src_install |
94 |
cmake-multilib_src_install |
95 |
if use perl; then |
95 |
if use perl; then |
96 |
cd contrib/perl |
96 |
cd contrib/perl || die |
97 |
perl-module_src_install |
97 |
perl-module_src_install |
98 |
fixlocalpod |
98 |
fixlocalpod |
99 |
fi |
99 |
fi |