blob: 78d2fe574ad70d5ae243321e4ea22e04c71c66f2 (
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
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=libcanberra
pkgver=0.30
pkgrel=0
pkgdesc="simple audio library for GTK applications"
url="http://0pointer.de/lennart/projects/libcanberra/"
license="LGPL"
depends=
makedepends="gtk+-dev libogg-dev libvorbis-dev alsa-lib-dev libtool"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://0pointer.de/lennart/projects/$pkgname/$pkgname-$pkgver.tar.xz"
arch="all"
depends_dev="$makedepends"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -name '*.la' -delete
}
md5sums="34cb7e4430afaf6f447c4ebdb9b42072 libcanberra-0.30.tar.xz"
|