# Template file for 'wvstreams'
pkgname=wvstreams
version=4.6.1
revision=7
build_style=gnu-configure
maintainer="Enno Boland <eb@s01.de>"
license="LGPL-2"
short_desc="Library for doing network in C++"
homepage="https://code.google.com/p/wvstreams"
distfiles="https://wvstreams.googlecode.com/files/wvstreams-$version.tar.gz"
makedepends="libressl-devel zlib-devel"
checksum=8403f5fbf83aa9ac0c6ce15d97fd85607488152aa84e007b7d0621b8ebc07633
configure_args="--sbindir=/usr/bin --without-dbus --without-tcl --without-qt"
conf_files="/etc/uniconf.conf"

replaces="uniconf>=0"

wvstreams-devel_package() {
	depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}
