forked from ports/contrib
30 lines
666 B
Plaintext
30 lines
666 B
Plaintext
# Description: Cross-platform 3D audio.
|
|
# URL: http://www.openal.org/
|
|
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
|
# Packager: Matt Housh, jaeger at crux dot nu
|
|
# Depends on: alsa-lib libvorbis libsdl
|
|
|
|
name=openal
|
|
version=0.0.8
|
|
release=2
|
|
source=(http://www.openal.org/openal_webstf/downloads/openal-$version.tar.gz \
|
|
openal-$version-alcvoid.patch)
|
|
|
|
build() {
|
|
cd openal-$version
|
|
patch -i $SRC/openal-$version-alcvoid.patch common/include/AL/alc.h
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--exec-prefix=/usr \
|
|
--disable-static \
|
|
--enable-optimization \
|
|
--enable-alsa \
|
|
--enable-vorbis \
|
|
--enable-sdl
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|
|
|