void-packages/srcpkgs/libexif/template

29 lines
798 B
Bash

# Template file for 'libexif'
pkgname=libexif
version=0.6.24
revision=1
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=d3fb7c47829ec4d2def39aa38f4c35a0891763448a05dbf216a329a12bf198f9
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
}
}