void-packages/srcpkgs/libexif/template

30 lines
847 B
Bash

# Template file for 'libexif'
pkgname=libexif
version=0.6.23
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=7701ec4b7071b1ac4f253c6d2478851c3baa5287302c336f68dd1810e8902bae
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
}
}