mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 09:57:16 +08:00
35 lines
951 B
Bash
35 lines
951 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrian Chaves Fernandez (Gallaecio) <adriyetichaves@gmail.com>
|
|
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
|
# Contributor: Allan McRae <allan@archlinux.org>
|
|
# Contributer: Jason Chu <jchu@xentac.net>
|
|
|
|
pkgname=openal
|
|
pkgver=1.14
|
|
pkgrel=1
|
|
pkgdesc="OpenAL is a cross-platform 3D audio library for use with OpenGL"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.openal.org/"
|
|
license=('LGPL')
|
|
depends=('glibc')
|
|
makedepends=('alsa-lib' 'sdl' 'cmake' 'libpulse')
|
|
options=('!libtool')
|
|
source=(http://kcat.strangesoft.net/$pkgname-releases/$pkgname-soft-${pkgver}.tar.bz2)
|
|
md5sums=('3d8b86c21a2f87a2a5e60f78f3b3f03d')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-soft-${pkgver}/build
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
..
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-soft-${pkgver}/build
|
|
make DESTDIR=${pkgdir}/ install
|
|
}
|