void-packages/srcpkgs/libheif/template

28 lines
746 B
Bash

# Template file for 'libheif'
pkgname=libheif
version=1.7.0
revision=1
build_style=gnu-configure
hostmakedepends="automake autoconf pkg-config libtool"
short_desc="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
license="LGPL-3.0-or-later"
homepage="http://www.libheif.org"
distfiles="https://github.com/strukturag/libheif/archive/v${version}.tar.gz"
checksum=11645cf2536f779be82ba9c25854fb7211b0ac30458f4764f1f7de88763deb21
pre_configure() {
./autogen.sh
}
libheif-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}