26 lines
528 B
Plaintext
26 lines
528 B
Plaintext
# Description: Vorbis codec library
|
|
# URL: http://www.xiph.org/ogg/vorbis/
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: libogg-32 libvorbis
|
|
|
|
name=libvorbis-32
|
|
version=1.3.6
|
|
release=1
|
|
source=(https://downloads.xiph.org/releases/vorbis/${name%-*}-$version.tar.xz
|
|
CVE-2017-14160.patch)
|
|
|
|
build() {
|
|
cd ${name%-*}-$version
|
|
|
|
patch -p1 -i $SRC/CVE-2017-14160.patch
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/{include,share}
|
|
}
|