void-packages/srcpkgs/exempi/template

29 lines
848 B
Bash

# Template file for 'exempi'
pkgname=exempi
version=2.4.5
revision=2
patch_args="-Np1"
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="BSD-3-Clause"
homepage="https://libopenraw.freedesktop.org/wiki/Exempi"
distfiles="https://libopenraw.freedesktop.org/download/exempi-${version}.tar.bz2"
checksum=406185feb88e84ea1d4b4251370be2991205790d7113a7e28e192ff46a4f221e
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"
}
}