# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ # initial ebuild written by Nicolai Lissner DESCRIPTION="library to use arbitrary fonts in OpenGL applications" HOMEPAGE="http://homepages.paradise.net.nz/henryj/code/#FTGL" SRC_URI="http://homepages.paradise.net.nz/henryj/code/FTGL.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="virtual/opengl virtual/glut >=media-libs/freetype-2.0.9" #RDEPEND="" S=${WORKDIR}/FTGL/unix src_unpack(){ unpack FTGL.tar.gz # changes needed to compile # thanks to Marcelo E. Magallon sed -i -e "s:(FT_Open_Flags)1; // ::g" ${WORKDIR}/FTGL/src/FTFace.cpp sed -i -e "s:FTLayout.h::g" ${WORKDIR}/FTGL/unix/src/Makefile } src_install(){ einstall DESTDIR=${D} || die }