void-packages/srcpkgs/flac/template
Eivind Uggedal 687dfea498 flac: security update to 1.3.1.
Fixes CVE-2014-8962 and CVE-2014-9028
2014-11-27 07:24:46 +00:00

37 lines
983 B
Bash

# Template file for 'flac'
pkgname=flac
version=1.3.1
revision=1
build_style=gnu-configure
configure_args="--disable-rpath --disable-doxygen-docs --disable-xmms-plugin --with-ogg=${XBPS_CROSS_BASE}/usr"
hostmakedepends="automake pkg-config libtool nasm"
makedepends="libogg-devel"
short_desc="Free Lossless Audio Codec"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://flac.sourceforge.net/"
license="BSD, GPL"
distfiles="http://downloads.xiph.org/releases/flac/flac-${version}.tar.xz"
checksum=4773c0099dba767d963fd92143263be338c48702172e8754b9bc5103efe1c56c
pre_configure() {
autoreconf -fi
}
libflac_package() {
short_desc+=" - shared libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
libflac-devel_package() {
depends="libstdc++-devel libogg-devel libflac>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/aclocal
vmove usr/share/doc
}
}