fixes - CVE-2018-10536 - CVE-2018-10537 - CVE-2018-10538 - CVE-2018-10539 - CVE-2018-10540 - CVE-2018-6767 - CVE-2018-7253 - CVE-2018-7254
38 lines
877 B
Bash
38 lines
877 B
Bash
# Template file for 'wavpack'
|
|
pkgname=wavpack
|
|
version=5.1.0
|
|
revision=3
|
|
patch_args="-Np1"
|
|
build_style=gnu-configure
|
|
short_desc="Hybrid lossless audio compression"
|
|
homepage="http://www.wavpack.com/"
|
|
license="BSD-3-Clause"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
distfiles="http://www.wavpack.com/${pkgname}-${version}.tar.bz2"
|
|
checksum=1939627d5358d1da62bc6158d63f7ed12905552f3a799c799ee90296a7612944
|
|
|
|
pre_configure() {
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
armv5*) configure_args+=" --disable-asm";;
|
|
esac
|
|
}
|
|
post_install() {
|
|
vlicense COPYING LICENSE
|
|
}
|
|
|
|
libwavpack_package() {
|
|
short_desc+=" - shared library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
wavpack-devel_package() {
|
|
depends="libwavpack>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|