void-packages/srcpkgs/exempi/template

28 lines
826 B
Bash

# Template file for 'exempi'
pkgname=exempi
version=2.6.4
revision=1
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 easy parsing of XMP metadata"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://libopenraw.freedesktop.org/exempi/"
distfiles="https://libopenraw.freedesktop.org/download/exempi-${version}.tar.xz"
checksum=fa9c2456bf570172f0877c4eb13cd204c62ae1fdf65c3d6b71b41d88e1066f84
post_install() {
vlicense COPYING
}
exempi-devel_package() {
depends="zlib-devel expat-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}