38 lines
860 B
Bash
38 lines
860 B
Bash
# Template file for 'wavpack'
|
|
pkgname=wavpack
|
|
version=5.3.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
short_desc="Hybrid lossless audio compression"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="http://www.wavpack.com/"
|
|
distfiles="http://www.wavpack.com/${pkgname}-${version}.tar.bz2"
|
|
checksum=b6f00b3a2185a1d2df6cf8d893ec60fd645d2eb90db7428a617fd27c9e8a6a01
|
|
|
|
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"
|
|
}
|
|
}
|