opt/speex/Pkgfile

24 lines
506 B
Plaintext

# Description: A free codec library for speech.
# URL: https://www.speex.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: libogg
name=speex
version=1.2.1
release=1
source=(https://gitlab.xiph.org/xiph/speex/-/archive/Speex-$version/speex-Speex-$version.tar.bz2)
build() {
cd $name-Speex-$version
NO_CONFIGURE=1 ./autogen.sh
./configure \
--prefix=/usr \
--enable-epic-48k \
--enable-binaries
sed -i -e "/^SUBDIRS = /s/doc //" Makefile
make
make DESTDIR=$PKG install
}