void-packages/srcpkgs/libexif/template
2020-06-20 11:18:52 +02:00

29 lines
847 B
Bash

# Template file for 'libexif'
pkgname=libexif
version=0.6.22
revision=1
wrksrc="libexif-libexif-${version//./_}-release"
build_style=gnu-configure
configure_args="ac_cv_path_DOXYGEN=false"
hostmakedepends="automake libtool glib-devel gettext gettext-devel"
short_desc="EXIF file library"
maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/libexif/libexif"
distfiles="https://github.com/libexif/libexif/archive/${pkgname}-${version//./_}-release.tar.gz"
checksum=46498934b7b931526fdee8fd8eb77a1dddedd529d5a6dbce88daf4384baecc54
pre_configure() {
autoreconf -if
}
libexif-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}