summaryrefslogtreecommitdiffstats
path: root/test/openal/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'test/openal/Pkgfile')
-rw-r--r--test/openal/Pkgfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/openal/Pkgfile b/test/openal/Pkgfile
new file mode 100644
index 000000000..320c165d8
--- /dev/null
+++ b/test/openal/Pkgfile
@@ -0,0 +1,25 @@
+# Description: Cross-platform 3D audio.
+# URL: http://connect.creativelabs.com/openal
+# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
+# Packager: Matt Housh, jaeger at crux dot nu
+# Depends on: alsa-lib, cmake
+
+name=openal
+version=1.10.622
+release=1
+source=(http://connect.creativelabs.com/openal/Downloads/openal-soft-$version.bz2)
+
+build() {
+ tar -xjf openal-soft-$version.bz2
+ cd openal-soft-$version/build
+
+ cmake ../ \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DOSS=OFF \
+ -DEXAMPLES=OFF \
+ -DCMAKE_BUILD_TYPE=Release #-DCMAKE_VERBOSE_MAKEFILE=true
+
+ make
+ make DESTDIR=$PKG install
+}
+