blob: 5898b5e93cd854fde35d6f968d3a3a36c6e2e4b6 (
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
44
45
46
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/gltt/gltt-2.5.2-r2.ebuild,v 1.3 2006/06/01 14:10:10 seemant Exp $
inherit eutils libtool gnuconfig
PATCHVER=0.1
DESCRIPTION="GL truetype library"
HOMEPAGE="http://gltt.sourceforge.net/"
SRC_URI="http://gltt.sourceforge.net/download/${P}.tar.gz
mirror://gentoo/${P}-gentoo-${PATCHVER}.tar.bz2"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND="virtual/opengl
virtual/glut
=media-libs/freetype-1*"
PATCHDIR=${WORKDIR}/gentoo
src_unpack() {
unpack ${A}; cd ${S}
EPATCH_SUFFIX="patch" epatch ${PATCHDIR}
}
src_compile() {
gnuconfig_update
libtoolize --copy --force
elibtoolize
econf \
--with-x \
--with-ttf-dir=/usr || die
emake || die
}
src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS ChangeLog NEWS README
}
|