contrib/openal/Pkgfile

27 lines
661 B
Plaintext
Raw Normal View History

2008-02-19 14:41:12 +01:00
# Description: Cross-platform 3D audio.
# URL: http://connect.creativelabs.com/openal
2008-03-26 03:45:31 +01:00
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
2008-02-19 14:41:12 +01:00
# Packager: Matt Housh, jaeger at crux dot nu
# Depends on: alsa-lib cmake
2008-02-19 14:41:12 +01:00
name=openal
version=1.7.411
release=1
source=(http://dcaf-security.org/distfiles/openal-soft-$version.tar.bz2)
#source=(http://connect.creativelabs.com/openal/Downloads/openal-soft-$version.tar.bz2)
2008-02-19 14:41:12 +01:00
build() {
cd openal-soft-$version
mkdir build
cd build
2008-02-19 14:41:12 +01:00
cmake ../ \
-DCMAKE_INSTALL_PREFIX=/usr \
-DOSS=OFF \
-DEXAMPLES=OFF \
-DCMAKE_BUILD_TYPE=Release #-DCMAKE_VERBOSE_MAKEFILE=true
2008-02-19 14:41:12 +01:00
make
make DESTDIR=$PKG install
}