# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="OpenGL Easy Extension library" HOMEPAGE="http://elf-stone.com/glee.php" SRC_URI="http://elf-stone.com/downloads/GLee/GLee-3.03-redist.tar.gz http://elf-stone.com/downloads/GLee/GLee${PV/./_}.zip" LICENSE="AS-IS" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="virtual/opengl" RDEPEND="${DEPEND}" S=${WORKDIR}/${PN} src_unpack() { unpack GLee-3.03-redist.tar.gz || die "failed unpacking" cd ${S} unpack GLee${PV/./_}.zip epatch ${FILESDIR}/5.03-makefile.patch } src_compile() { aclocal || die "aclocal failed" libtoolize || die "libtoolize failed" autoconf || die "autoconf failed" econf || die "econf failed" emake || die "emake failed" } src_install() { dodir /usr/include/GL einstall || die "einstall failed" dodoc readme.txt extensionList.txt }