summaryrefslogtreecommitdiffstats
path: root/test/openal/Pkgfile
blob: 320c165d8ffec58b96ad24c2e411bc24dc6a9d6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
}