blob: 9b126179c5d8cc5ec9e97bae96232a1b853e45c0 (
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
45
46
47
48
49
50
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=speex
pkgver=1.2_rc2
_ver=${pkgver%_*}${pkgver#*_}
pkgrel=3
pkgdesc="an audio compression format designed for speech"
url="http://www.speex.org/"
arch="all"
license="BSD"
depends=
makedepends="libogg-dev speexdsp-dev"
install=
provides=pc:speex
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="http://downloads.xiph.org/releases/speex/speex-$_ver.tar.gz"
_builddir="$srcdir"/$pkgname-$_ver
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-static \
--enable-binaries \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install
}
tools() {
pkgdesc="$pkgdesc - command line tools"
mkdir -p "$subpkgdir"/usr
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
md5sums="6ae7db3bab01e1d4b86bacfa8ca33e81 speex-1.2rc2.tar.gz"
sha256sums="caa27c7247ff15c8521c2ae0ea21987c9e9710a8f2d3448e8b79da9806bce891 speex-1.2rc2.tar.gz"
sha512sums="557cf22ed7085dba94d92963cf4a4b5030a1f7f9936783ba427378d60dd7881a886687fb987b3c951120728009fb47054091e2d7d5e3dfcc6912b51ffdfbb97e speex-1.2rc2.tar.gz"
|