void-packages/srcpkgs/libsndfile/template

34 lines
944 B
Bash

# Template file for 'libsndfile'
pkgname=libsndfile
version=1.0.26
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config python"
makedepends="alsa-lib-devel libvorbis-devel libflac-devel sqlite-devel"
short_desc="C library for reading and writing files containing sampled sound"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.mega-nerd.com/libsndfile"
license="LGPL-2.1"
distfiles="http://www.mega-nerd.com/$pkgname/files/$pkgname-$version.tar.gz"
checksum=cd6520ec763d1a45573885ecb1f8e4e42505ac12180268482a44b28484a25092
libsndfile-progs_package() {
short_desc+=" - bundled cmdline apps"
pkg_install() {
vmove usr/bin
vmove usr/share/man
}
}
libsndfile-devel_package() {
depends="${makedepends} ${sourcepkg}>=${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/doc
}
}