Lines 2-10
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.4.11.ebuild,v 1.9 2013/01/28 12:21:52 pinkbyte Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/freetype/freetype-2.4.11.ebuild,v 1.9 2013/01/28 12:21:52 pinkbyte Exp $ |
4 |
|
4 |
|
5 |
EAPI="4" |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
inherit eutils flag-o-matic libtool multilib |
7 |
inherit autotools-multilib flag-o-matic multilib |
8 |
|
8 |
|
9 |
DESCRIPTION="A high-quality and portable font engine" |
9 |
DESCRIPTION="A high-quality and portable font engine" |
10 |
HOMEPAGE="http://www.freetype.org/" |
10 |
HOMEPAGE="http://www.freetype.org/" |
Lines 24-30
DEPEND="sys-libs/zlib
Link Here
|
24 |
x11-libs/libXau |
24 |
x11-libs/libXau |
25 |
x11-libs/libXdmcp )" |
25 |
x11-libs/libXdmcp )" |
26 |
RDEPEND="${DEPEND} |
26 |
RDEPEND="${DEPEND} |
27 |
infinality? ( media-libs/fontconfig-infinality )" |
27 |
infinality? ( media-libs/fontconfig-infinality ) |
|
|
28 |
!<app-emulation/emul-linux-x86-xlibs-20121202-r1" |
28 |
|
29 |
|
29 |
src_prepare() { |
30 |
src_prepare() { |
30 |
enable_option() { |
31 |
enable_option() { |
Lines 79-86
src_prepare() {
Link Here
|
79 |
fi |
80 |
fi |
80 |
fi |
81 |
fi |
81 |
|
82 |
|
82 |
elibtoolize |
83 |
autotools-utils_src_prepare |
83 |
epunt_cxx |
|
|
84 |
} |
84 |
} |
85 |
|
85 |
|
86 |
src_configure() { |
86 |
src_configure() { |
Lines 92-104
src_configure() {
Link Here
|
92 |
sed -i -e "1s:^#![[:space:]]*/bin/sh:#!$CONFIG_SHELL:" \ |
92 |
sed -i -e "1s:^#![[:space:]]*/bin/sh:#!$CONFIG_SHELL:" \ |
93 |
"${S}"/builds/unix/configure |
93 |
"${S}"/builds/unix/configure |
94 |
|
94 |
|
95 |
econf \ |
95 |
|
96 |
$(use_enable static-libs static) \ |
96 |
local myeconfargs=( |
|
|
97 |
# expanded by automake |
98 |
--includedir='${libdir}/freetype2/include'\ |
97 |
$(use_with bzip2) |
99 |
$(use_with bzip2) |
|
|
100 |
) |
101 |
|
102 |
autotools-multilib_src_configure |
98 |
} |
103 |
} |
99 |
|
104 |
|
100 |
src_compile() { |
105 |
src_compile() { |
101 |
emake |
106 |
autotools-multilib_src_compile |
102 |
|
107 |
|
103 |
if use utils; then |
108 |
if use utils; then |
104 |
einfo "Building utils" |
109 |
einfo "Building utils" |
Lines 109-115
src_compile() {
Link Here
|
109 |
} |
114 |
} |
110 |
|
115 |
|
111 |
src_install() { |
116 |
src_install() { |
112 |
emake DESTDIR="${D}" install |
117 |
autotools-multilib_src_install |
113 |
|
118 |
|
114 |
if use utils; then |
119 |
if use utils; then |
115 |
einfo "Installing utils" |
120 |
einfo "Installing utils" |
Lines 130-140
src_install() {
Link Here
|
130 |
done |
135 |
done |
131 |
fi |
136 |
fi |
132 |
|
137 |
|
133 |
prune_libtool_files |
|
|
134 |
|
135 |
dodoc ChangeLog README |
136 |
dodoc docs/{CHANGES,CUSTOMIZE,DEBUG,*.txt,PROBLEMS,TODO} |
138 |
dodoc docs/{CHANGES,CUSTOMIZE,DEBUG,*.txt,PROBLEMS,TODO} |
137 |
|
|
|
138 |
use doc && dohtml -r docs/* |
139 |
use doc && dohtml -r docs/* |
139 |
|
|
|
140 |
} |
140 |
} |