void-packages/srcpkgs/exiv2/template

26 lines
752 B
Bash

# Template file for 'exiv2'
pkgname=exiv2
version=0.27.2
revision=1
wrksrc="exiv2-${version}-Source"
build_style=cmake
configure_args="-DEXIV2_BUILD_SAMPLES=OFF"
makedepends="zlib-devel expat-devel"
short_desc="Image metadata manipulation"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.exiv2.org"
distfiles="https://www.exiv2.org/builds/exiv2-${version}-Source.tar.gz"
checksum=2652f56b912711327baff6dc0c90960818211cf7ab79bb5e1eb59320b78d153f
exiv2-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}