From 2d5ad4d5336f4a51514b3c26bf8ce318e027bfdf Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 18 Nov 2010 09:33:50 +0000 Subject: main/speex: moved from testing --- main/speex/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 main/speex/APKBUILD (limited to 'main/speex/APKBUILD') diff --git a/main/speex/APKBUILD b/main/speex/APKBUILD new file mode 100644 index 000000000..48804f583 --- /dev/null +++ b/main/speex/APKBUILD @@ -0,0 +1,41 @@ +# Maintainer: Natanel Copa +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" -- cgit v1.2.3