summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2008-11-23 21:17:38 +0000
committerAlfredo Tupone <tupone@gentoo.org>2008-11-23 21:17:38 +0000
commit25c4d7092a4bf77ff1fab0d0a675432c9157dba7 (patch)
tree63bf3ef8a01f5549308d1d1d9db5c21078b388ec /media-libs/ftgl/ftgl-2.1.3_rc5.ebuild
parentFix parallel make when monodoc is installed. Monodoc is automagic, so drop do... (diff)
downloadgentoo-2-25c4d7092a4bf77ff1fab0d0a675432c9157dba7.tar.gz
gentoo-2-25c4d7092a4bf77ff1fab0d0a675432c9157dba7.tar.bz2
gentoo-2-25c4d7092a4bf77ff1fab0d0a675432c9157dba7.zip
Version bump to 2.1.3_rc5. Bug #234831
(Portage version: 2.1.4.5)
Diffstat (limited to 'media-libs/ftgl/ftgl-2.1.3_rc5.ebuild')
-rw-r--r--media-libs/ftgl/ftgl-2.1.3_rc5.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild b/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild
new file mode 100644
index 000000000000..e60c20b0a15b
--- /dev/null
+++ b/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/ftgl/ftgl-2.1.3_rc5.ebuild,v 1.1 2008/11/23 21:17:38 tupone Exp $
+
+WANT_AUTOMAKE=latest
+WANT_AUTOCONF=latest
+inherit eutils flag-o-matic autotools
+
+MY_PV=${PV/_/-}
+MY_PV2=${PV/_/\~}
+MY_P=${PN}-${MY_PV}
+MY_P2=${PN}-${MY_PV2}
+
+DESCRIPTION="library to use arbitrary fonts in OpenGL applications"
+HOMEPAGE="http://ftgl.wiki.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=">=media-libs/freetype-2.0.9
+ virtual/opengl
+ virtual/glu
+ virtual/glut"
+
+S="${WORKDIR}"/${MY_P2}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ AT_M4DIR=m4 eautoreconf
+}
+
+src_compile() {
+ strip-flags # ftgl is sensitive - bug #112820
+ econf
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ rm -rf "${D}"/usr/share/doc/ftgl
+ dodoc AUTHORS BUGS ChangeLog INSTALL NEWS README TODO \
+ docs/projects_using_ftgl.txt
+}