blob: d076da5187c5c2e5e4edd115d34a23cd379d7e4b (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer:
pkgname=openal-soft
pkgver=1.16.0
pkgrel=0
pkgdesc="software implementation of OpenAL API"
url="http://kcat.strangesoft.net/openal.html"
arch="all"
license="LGPL"
depends=""
depends_dev="alsa-lib-dev"
makedepends="$depends_dev linux-headers cmake"
install=""
subpackages="$pkgname-dev"
source="http://kcat.strangesoft.net/openal-releases/${pkgname}-${pkgver}.tar.bz2"
_srcdir="${srcdir}/${pkgname}-${pkgver}"
_builddir="${srcdir}/build"
prepare() {
local i
cd "$_srcdir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
mkdir -p "$_builddir"
}
build() {
cd "$_builddir"
cmake -DCMAKE_INSTALL_PREFIX="/usr" "$_srcdir" || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="14db4b0d12f07252070b4fe5eb5911f6 openal-soft-1.16.0.tar.bz2"
sha256sums="2f3dcd313fe26391284fbf8596863723f99c65d6c6846dccb48e79cadaf40d5f openal-soft-1.16.0.tar.bz2"
sha512sums="b89e46902ce475afd47c4c153ae666646e8b277abf1be97f92b6a10dc585ed780c663591398a9fd7e4118595dd45d2d8d6df0101b4148686150bbb3fe2939ddc openal-soft-1.16.0.tar.bz2"
|