summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-11-18 09:00:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-11-18 09:02:29 +0000
commit15e0e1b784255ab4ccb3fc8decf2cc5efc797e9f (patch)
tree6dde382f57d99bed5c17ecb66ea11fd5a02861b7 /testing
parent24cb88ad50ddac4d72335c27521e38e1de62a21b (diff)
downloadaports-15e0e1b784255ab4ccb3fc8decf2cc5efc797e9f.tar.bz2
aports-15e0e1b784255ab4ccb3fc8decf2cc5efc797e9f.tar.xz
testing/speex: new aport
an audio compression format designed for speech http://www.speex.org/
Diffstat (limited to 'testing')
-rw-r--r--testing/speex/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/speex/APKBUILD b/testing/speex/APKBUILD
new file mode 100644
index 000000000..48804f583
--- /dev/null
+++ b/testing/speex/APKBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Natanel Copa <ncopa@alpinelinux.org>
+pkgname=speex
+pkgver=1.2_rc1
+_ver=${pkgver%_*}${pkgver#*_}
+pkgrel=0
+pkgdesc="an audio compression format designed for speech"
+url="http://www.speex.org/"
+license="BSD"
+depends=
+makedepends="libogg-dev"
+install=
+subpackages="$pkgname-dev $pkgname-doc libspeex"
+source="http://downloads.xiph.org/releases/speex/speex-$_ver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$_ver
+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 -j1 DESTDIR="$pkgdir" install
+}
+
+libspeex() {
+ pkgdesc="$pkgdesc - libraries"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/libspeex*.so.* "$subpkgdir"/usr/lib/
+}
+
+
+md5sums="c4438b22c08e5811ff10e2b06ee9b9ae speex-1.2rc1.tar.gz"