26 lines
589 B
Plaintext
26 lines
589 B
Plaintext
|
# Description: Cross-platform 3D audio.
|
||
|
# URL: http://kcat.strangesoft.net/openal.html
|
||
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
||
|
# Depends on: openal alsa-lib-32 cmake
|
||
|
|
||
|
name=openal-32
|
||
|
version=1.15.1
|
||
|
release=1
|
||
|
source=(http://kcat.strangesoft.net/openal-releases/openal-soft-$version.tar.bz2)
|
||
|
|
||
|
build() {
|
||
|
cd openal-soft-$version/build
|
||
|
|
||
|
cmake ../ \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||
|
-DLIB_SUFFIX=32 \
|
||
|
-DOSS=OFF \
|
||
|
-DEXAMPLES=OFF \
|
||
|
-DCMAKE_BUILD_TYPE=Release #-DCMAKE_VERBOSE_MAKEFILE=true
|
||
|
|
||
|
make
|
||
|
make DESTDIR=$PKG install
|
||
|
|
||
|
rm -r $PKG/usr/{bin,include,share}
|
||
|
}
|