void-packages/srcpkgs/libshout/template

28 lines
747 B
Bash

# Template file for 'libshout'
pkgname=libshout
version=2.4.3
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=0d8af55d1141bf90710bcd41a768c9cc5adb251502a0af1dd22c8da215d40dfe
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"
}
}