# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/openal/openal-0.0.8-r2.ebuild,v 1.5 2008/09/15 02:13:07 solar Exp $ inherit autotools eutils MY_P=${PN}-soft-${PV} DESCRIPTION="an open, vendor-neutral, cross-platform API for interactive, primarily spatialized audio" HOMEPAGE="http://kcat.strangesoft.net/openal.html" SRC_URI="http://kcat.strangesoft.net/openal-releases/${MY_P}.tar.bz2" LICENSE="LGPL-2" SLOT="0" KEYWORDS="~arm alpha amd64 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" IUSE="" RDEPEND=" >=media-libs/alsa-lib-1.0.2 " DEPEND="${RDEPEND} >=dev-util/cmake-2.4.6" S=${MY_P} src_compile() { cd ${S} cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ || die "cmake failed" emake || die "emake failed" } src_install() { cd ${S} emake DESTDIR="${D}" install \ || die "make install failed" }