diff options
author | William Pitcock <nenolod@dereferenced.org> | 2010-12-22 15:14:42 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2010-12-22 15:14:42 -0600 |
commit | 477768c1998ec4898ce94019eeba49510502f145 (patch) | |
tree | 056e0c6117715804171cd1360c9a48c8ca85aa0c /testing | |
parent | 5a2e5fa937d572533edd589e9f9209b1aaf5f7ce (diff) | |
download | aports-477768c1998ec4898ce94019eeba49510502f145.tar.bz2 aports-477768c1998ec4898ce94019eeba49510502f145.tar.xz |
testing/libcanberra: new aport.
Diffstat (limited to 'testing')
-rw-r--r-- | testing/libcanberra/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/libcanberra/APKBUILD b/testing/libcanberra/APKBUILD new file mode 100644 index 0000000000..c11d200ed7 --- /dev/null +++ b/testing/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" +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" |