void-packages/srcpkgs/exiv2/template

26 lines
738 B
Bash

# Template file for 'exiv2'
pkgname=exiv2
version=0.27.0
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="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
license="GPL-2.0-or-later"
homepage="http://www.exiv2.org"
distfiles="http://www.exiv2.org/releases/exiv2-${version}-Source.tar.gz"
checksum=ee88bc81539b73c65010651785d094fad0b39760a424b3c16c17e1856cfef2d7
exiv2-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}