|
Line
Link Here
|
| 0 |
-- openal-1.6.372.ebuild |
0 |
++ openal-1.6.372.ebuild |
|
Lines 2-8
Link Here
|
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/openal/openal-1.6.372.ebuild,v 1.10 2009/03/15 15:00:54 ranger Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/openal/openal-1.6.372.ebuild,v 1.10 2009/03/15 15:00:54 ranger Exp $ |
| 4 |
|
4 |
|
| 5 |
inherit eutils cmake-utils |
5 |
inherit eutils cmake-utils multilib |
| 6 |
|
6 |
|
| 7 |
MY_P=${PN}-soft-${PV} |
7 |
MY_P=${PN}-soft-${PV} |
| 8 |
|
8 |
|
|
Lines 22-28
Link Here
|
| 22 |
DOCS="alsoftrc.sample" |
22 |
DOCS="alsoftrc.sample" |
| 23 |
|
23 |
|
| 24 |
src_compile() { |
24 |
src_compile() { |
| 25 |
local mycmakeargs="" |
25 |
local mycmakeargs="-DLIB_INSTALL_DIR=$(get_libdir)" |
| 26 |
|
26 |
|
| 27 |
use alsa || mycmakeargs="${mycmakeargs} -DALSA=OFF" |
27 |
use alsa || mycmakeargs="${mycmakeargs} -DALSA=OFF" |
| 28 |
use oss || mycmakeargs="${mycmakeargs} -DOSS=OFF" |
28 |
use oss || mycmakeargs="${mycmakeargs} -DOSS=OFF" |