void-packages/srcpkgs/libvorbis/template
Helmut Pozimski 2f2c5d85d6 libvorbis: add patches for CVE-2017-14632 and CVE-2017-14633
patches via Debian, originally from upstream
c1c2831fc7
a79ec216cd

Closes: #11657 [via git-merge-pr]
2018-02-20 17:14:33 -05:00

33 lines
820 B
Bash

# Template file for 'libvorbis'.
pkgname=libvorbis
version=1.3.5
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libogg-devel"
short_desc="The Vorbis General Audio Compression Codec"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD"
homepage="http://www.xiph.org/vorbis/"
distfiles="http://downloads.xiph.org/releases/vorbis/${pkgname}-${version}.tar.gz"
checksum=6efbcecdd3e5dfbf090341b485da9d176eb250d893e3eb378c428a2db38301ce
pre_configure() {
autoreconf -fi -I m4
}
post_install() {
vlicense COPYING
}
libvorbis-devel_package() {
depends="libogg-devel libvorbis>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share
}
}