mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
25 lines
745 B
Bash
25 lines
745 B
Bash
# $Id: PKGBUILD 54255 2009-10-07 13:48:43Z allan $
|
|
# Maintainer: Allan McRae <allan@archlinux.org>
|
|
# Contributer: Jason Chu <jchu@xentac.net>
|
|
|
|
pkgname=openal
|
|
pkgver=1.9.563
|
|
pkgrel=1
|
|
pkgdesc="OpenAL audio library for use with opengl"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.openal.org/"
|
|
license=('LGPL')
|
|
depends=('glibc')
|
|
makedepends=('alsa-lib' 'sdl' 'pkgconfig' 'cmake')
|
|
options=('!libtool')
|
|
source=(http://kcat.strangesoft.net/openal-releases/openal-soft-${pkgver}.tar.bz2)
|
|
md5sums=('7584387f321cde91e3a4cfacf89bcc5f')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-soft-${pkgver}
|
|
mkdir build
|
|
cd build
|
|
cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release .. || return 1
|
|
make || return 1
|
|
make DESTDIR=${pkgdir}/ install || return 1
|
|
}
|