opt/speex/Pkgfile

24 lines
506 B
Plaintext
Raw Normal View History

2016-06-11 08:02:47 +02:00
# Description: A free codec library for speech.
# URL: https://www.speex.org/
2016-06-11 08:02:47 +02:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: libogg
name=speex
2022-06-19 21:39:03 +02:00
version=1.2.1
2016-06-11 08:02:47 +02:00
release=1
2022-06-19 21:39:03 +02:00
source=(https://gitlab.xiph.org/xiph/speex/-/archive/Speex-$version/speex-Speex-$version.tar.bz2)
2016-06-11 08:02:47 +02:00
build() {
2022-06-19 21:39:03 +02:00
cd $name-Speex-$version
2016-06-11 08:02:47 +02:00
2022-06-19 21:39:03 +02:00
NO_CONFIGURE=1 ./autogen.sh
2016-06-11 08:02:47 +02:00
./configure \
--prefix=/usr \
2017-01-23 13:46:09 +01:00
--enable-epic-48k \
--enable-binaries
2016-06-11 08:02:47 +02:00
sed -i -e "/^SUBDIRS = /s/doc //" Makefile
make
2017-01-23 13:46:09 +01:00
make DESTDIR=$PKG install
2016-06-11 08:02:47 +02:00
}