# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="osgAL is a toolkit for handling spatial (3D) sound in the OpenSceneGraph rendering library." HOMEPAGE="http://www.vrlab.umu.se/research/osgAL/" MY_P="${PN}-${PV}.tar.gz" SRC_URI="http://downloads.sourceforge.net/osgal/${MY_P}" SLOT="0" LICENSE="LGPL-2.1" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND="media-gfx/openscenegraph media-libs/openal media-libs/freealut" S="${WORKDIR}/${PN}-${PV}" src_unpack() { unpack ${MY_P} if ls ${FILESDIR}/${PVR}*.patch 2>/dev/null then for i in ${FILESDIR}/${PVR}*.patch do epatch $i done fi } src_install () { make install DESTDIR=${D} || die "einstall failed" }