blob: 1eab5bc38c7de3ebc94b26dbc576a3c79422f293 (
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
47
|
# Copyright 1999-2005 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.1 2005/11/04 16:11:45 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
http://dev.gentoo.org/~seemant/distfiles/${P}-gentoo-${PATCHVER}.tar.bz2
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 ${FILESDIR}
}
src_compile() {
gnuconfig_update
elibtoolize
libtoolize --copy --force
econf \
--with-x \
--with-ttf-dir=/usr || die
emake || die
}
src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS ChangeLog NEWS README
}
|