void-packages/srcpkgs/exempi/template

28 lines
830 B
Bash

# Template file for 'exempi'
pkgname=exempi
version=2.4.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="Juan RP <xtraeme@voidlinux.eu>"
license="3-clause-BSD"
homepage="https://libopenraw.freedesktop.org/wiki/Exempi"
distfiles="https://libopenraw.freedesktop.org/download/exempi-${version}.tar.bz2"
checksum=a2d59a9c5d449d88480dc9ffb3220f34b9789367dbe6fdc957ed2b9a78ec3db0
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"
}
}