mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-07 06:32:29 +01:00
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=speex
|
|
pkgver=1.2.0
|
|
pkgrel=0
|
|
pkgdesc="an audio compression format designed for speech"
|
|
url="https://www.speex.org/"
|
|
arch="all"
|
|
options="!check" # Test suite is for Win32 only.
|
|
license="BSD-3-Clause"
|
|
depends=
|
|
makedepends="libogg-dev speexdsp-dev"
|
|
install=
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
|
|
source="http://downloads.us.xiph.org/releases/speex/speex-$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir"/$pkgname-$pkgver
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--disable-static \
|
|
--enable-binaries
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make -j1 DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
tools() {
|
|
pkgdesc="$pkgdesc - command line tools"
|
|
mkdir -p "$subpkgdir"/usr
|
|
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
|
|
}
|
|
|
|
sha512sums="7fe10838c7d1bafcbe42295b82b79262420dba793b8a4388e2f73a3007850b5572face1b5308d9f4e8d7dfc9cb1c016cbad88cd65b2892667986107ed946836b speex-1.2.0.tar.gz"
|