blob: 2a6a94f1624c1ac47905db4528515dea8efae2d1 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils versionator autotools
MY_PV="$(delete_all_version_separators ${PV})"
DESCRIPTION="Anti-Grain Geometry - A High Quality Rendering Engine for C++"
HOMEPAGE="http://antigrain.com/"
SRC_URI="http://antigrain.com/${PN}${MY_PV}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
RDEPEND="virtual/x11"
DEPEND="${RDEPEND}
>=media-libs/freetype-2"
S="${WORKDIR}/${PN}${MY_PV}"
src_compile() {
use examples || sed -i -e 's/examples//' Makefile.am
eautoreconf || die "eautoreconf failed"
econf || die "econf failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc readme README.txt authors ChangeLog news
insinto /usr/share/doc/${PF}
doins -r tutorial
}
|