contrib/opus/Pkgfile

29 lines
638 B
Plaintext
Raw Normal View History

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