void-packages/srcpkgs/libshout/template

28 lines
747 B
Bash

# Template file for 'libshout'
pkgname=libshout
version=2.4.5
revision=1
build_style=gnu-configure
makedepends="libtheora-devel libvorbis-devel speex-devel"
short_desc="Icecast client library"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.0-or-later"
homepage="http://www.icecast.org/"
distfiles="http://downloads.xiph.org/releases/libshout/libshout-${version}.tar.gz"
checksum=d9e568668a673994ebe3f1eb5f2bee06e3236a5db92b8d0c487e1c0f886a6890
post_install() {
vinstall shout.pc 644 usr/lib/pkgconfig
}
libshout-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}