mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:47:13 +08:00
29 lines
687 B
Bash
29 lines
687 B
Bash
pkgname=speex
|
|
pkgver=1.2rc2
|
|
pkgrel=1
|
|
pkgdesc="A free codec for free speech"
|
|
arch=('x86_64')
|
|
url="http://www.speex.org/"
|
|
license=(BSD)
|
|
depends=(libogg speexdsp)
|
|
source=(http://downloads.us.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('6ae7db3bab01e1d4b86bacfa8ca33e81')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static \
|
|
--enable-binaries # Must be given or configure won't use pkg-config correctly
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
make -k check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|