void-packages/srcpkgs/libfishsound/template

32 lines
940 B
Bash

# Template file for 'libfishsound'
pkgname=libfishsound
version=1.0.0
revision=3
build_style="gnu-configure"
configure_args="--enable-static=no"
hostmakedepends="pkg-config doxygen"
makedepends="libflac-devel speex-devel libvorbis-devel liboggz-devel libsndfile-devel"
short_desc="Simple interface for decoding/encoding audio data using Xiph.org codecs"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="BSD-3-Clause"
homepage="https://xiph.org/fishsound/"
distfiles="http://downloads.xiph.org/releases/libfishsound/libfishsound-${version}.tar.gz"
checksum=2e0b57ce2fecc9375eef72938ed08ac8c8f6c5238e1cae24458f0b0e8dade7c7
post_install() {
vlicense COPYING
vdoc AUTHORS
vdoc README
}
libfishsound-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
vmove usr/share/doc/${sourcepkg}/html
}
}