# Template file for 'exempi'
pkgname=exempi
version=2.2.2
revision=2
build_style=gnu-configure
configure_args="--with-boost=${XBPS_CROSS_BASE}/usr --disable-static --disable-unittest"
makedepends="zlib-devel expat-devel boost-devel"
short_desc="Library for applications dealing with netlink sockets"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD"
homepage="http://libopenraw.freedesktop.org/wiki/Exempi"
distfiles="http://libopenraw.freedesktop.org/download/exempi-$version.tar.bz2"
checksum=0e7ad0e5e61b6828e38d31a8cc59c26c9adeed7edf4b26708c400beb6a686c07

exempi-devel_package() {
	depends="zlib-devel expat-devel exempi>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
