blob: 85c70c1c4a5fe6cccda30fb23aef75707dc7f3f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-0.4.0.ebuild,v 1.4 2005/07/10 03:45:04 vapier Exp $
inherit eutils
DESCRIPTION="A vector graphics library with cross-device output support"
HOMEPAGE="http://cairographics.org/"
SRC_URI="http://cairographics.org/snapshots/${P}.tar.gz"
LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="glitz png X"
DEPEND="X? (
virtual/x11
virtual/xft
)
media-libs/fontconfig
>=media-libs/freetype-2
>=media-libs/libpixman-0.1.4
glitz? ( =media-libs/glitz-0.4.0* )
png? ( media-libs/libpng )"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-makefile.patch
}
src_compile() {
econf \
$(use_enable X xlib) \
$(use_enable glitz) \
$(use_enable png) \
|| die
emake || die
}
src_install() {
make install DESTDIR="${D}" || die
}
|