aboutsummaryrefslogtreecommitdiffstats
path: root/main/libcanberra
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-24 11:24:00 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-24 11:24:00 -0600
commit12c89efce4b226de2ac5fc8ed81ed31b5d2402b5 (patch)
treeda222da073c8846428223dba2974359c0f821a28 /main/libcanberra
parentd3f7015ca439cdfe8bd962354cfab69c18194254 (diff)
downloadaports-12c89efce4b226de2ac5fc8ed81ed31b5d2402b5.tar.bz2
aports-12c89efce4b226de2ac5fc8ed81ed31b5d2402b5.tar.xz
testing/libcanberra: promote to main
Diffstat (limited to 'main/libcanberra')
-rw-r--r--main/libcanberra/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/main/libcanberra/APKBUILD b/main/libcanberra/APKBUILD
new file mode 100644
index 0000000000..e73d7970c3
--- /dev/null
+++ b/main/libcanberra/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=libcanberra
+pkgver=0.26
+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.gz"
+arch="all"
+
+depends_dev="$makedepends"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="ee2c66ada7c851a4e7b6eb1682285a24 libcanberra-0.26.tar.gz"