# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/fontconfig-2.4.2.ebuild,v 1.7 2007/02/10 13:31:06 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/fontconfig/fontconfig-2.4.2.ebuild,v 1.8 2007/02/11 09:59:04 vapier Exp $
inherit eutils libtool autotools
LICENSE="fontconfig"
SLOT="1.0"
-KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 arm hppa ia64 m68k ~mips ppc ~ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="doc xml"
RDEPEND=">=media-libs/freetype-2.1.4
!xml? ( >=dev-libs/expat-1.95.3 )
xml? ( >=dev-libs/libxml2-2.6 )"
-
DEPEND="${RDEPEND}
doc? ( app-text/docbook-sgml-utils )"
src_unpack() {
-
unpack ${A}
cd "${S}"
# elibtoolize
epunt_cxx #74077
-
}
src_compile() {
-
[ "${ARCH}" == "alpha" -a "${CC}" == "ccc" ] && \
die "Dont compile fontconfig with ccc, it doesnt work very well"
|| die
emake -j1 || die
-
}
src_install() {
-
- make DESTDIR="${D}" install || die
+ emake DESTDIR="${D}" install || die
insinto /etc/fonts
doins "${S}"/fonts.conf
fi
dodoc AUTHORS ChangeLog NEWS README
-
}
pkg_postinst() {
-
# Changes should be made to /etc/fonts/local.conf, and as we had
# too much problems with broken fonts.conf, we force update it ...
# <azarah@gentoo.org> (11 Dec 2002)
/usr/bin/fc-cache -s
eend $?
fi
-
}