34 lines
996 B
Bash
34 lines
996 B
Bash
# Template file for 'libsndfile'
|
|
pkgname=libsndfile
|
|
version=1.0.30
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config python"
|
|
makedepends="alsa-lib-devel libvorbis-devel libflac-devel sqlite-devel opus-devel"
|
|
short_desc="C library for reading and writing files containing sampled sound"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://www.mega-nerd.com/libsndfile"
|
|
distfiles="https://github.com/erikd/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.bz2"
|
|
checksum=ec898634766595438142c76cf3bdd46b77305d4a295dd16b29d024122d7a4b3f
|
|
|
|
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
|
|
}
|
|
}
|