2012-11-21 11:12:43 -06:00
|
|
|
# Description: Vorbis codec library
|
|
|
|
# URL: http://www.xiph.org/ogg/vorbis/
|
2013-02-02 01:54:23 +11:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2012-11-21 11:12:43 -06:00
|
|
|
# Depends on: libogg-32 libvorbis
|
|
|
|
|
|
|
|
name=libvorbis-32
|
2018-03-18 20:02:39 +11:00
|
|
|
version=1.3.6
|
2012-11-21 11:12:43 -06:00
|
|
|
release=1
|
2018-03-18 20:02:39 +11:00
|
|
|
source=(https://downloads.xiph.org/releases/vorbis/${name%-*}-$version.tar.xz
|
|
|
|
CVE-2017-14160.patch)
|
2012-11-21 11:12:43 -06:00
|
|
|
|
|
|
|
build() {
|
2018-03-18 20:02:39 +11:00
|
|
|
cd ${name%-*}-$version
|
2014-01-25 11:46:50 +11:00
|
|
|
|
2018-03-18 20:02:39 +11:00
|
|
|
patch -p1 -i $SRC/CVE-2017-14160.patch
|
2014-01-25 11:46:50 +11:00
|
|
|
|
2018-03-18 20:02:39 +11:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/usr/lib32
|
2014-01-25 11:46:50 +11:00
|
|
|
|
2018-03-18 20:02:39 +11:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm -r $PKG/usr/{include,share}
|
2012-11-21 11:12:43 -06:00
|
|
|
}
|