contrib/opus/Pkgfile

29 lines
638 B
Plaintext
Raw Normal View History

2013-06-02 23:27:42 +10:00
# Description: Codec designed for interactive speech and audio transmission over the Internet.
# URL: http://www.opus-codec.org/
2014-11-10 23:28:07 +11:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Danny Rawlins, crux at romster dot me
2013-06-02 23:27:42 +10:00
name=opus
2015-07-18 19:45:14 +10:00
version=1.1
2013-06-02 23:27:42 +10:00
release=1
2015-07-24 11:09:27 +10:00
source=(http://downloads.us.xiph.org/releases/opus/opus-$version.tar.gz
1.1-fix-configure.ac-shell-bug.patch)
2013-06-02 23:27:42 +10:00
build() {
2015-07-18 19:45:14 +10:00
cd opus-$version
2015-07-24 11:09:27 +10:00
patch -p1 -i $SRC/1.1-fix-configure.ac-shell-bug.patch
autoreconf -i
2013-06-02 23:27:42 +10:00
./configure \
--prefix=/usr \
--mandir=/usr/man \
2015-07-18 19:45:14 +10:00
--enable-custom-modes \
--disable-nls
2013-06-02 23:27:42 +10:00
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/doc
2013-06-02 23:27:42 +10:00
}