# Contributor: Lionel Voirol <lionel@sinux.ch>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ezstream
pkgver=1.0.0
pkgrel=0
pkgdesc="Ezstream is a command line source client for Icecast media streaming servers."
url="http://www.icecast.org/ezstream.php"
arch="all"
license="GPL-2.0"
makedepends="libshout-dev libxml2-dev libvorbis-dev check-dev taglib-dev bsd-compat-headers"
subpackages="$pkgname-doc"
source="http://downloads.xiph.org/releases/ezstream/ezstream-$pkgver.tar.gz"

build() {
	./configure \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="16c67cd6b02de2e87699e24a93dfa6ead8a3de1e42f074175cc56787fd8a3c9c601ad2b78db579d3bfb7e96e66a85b24ae097565748b756142439318e48b7531  ezstream-1.0.0.tar.gz"
