void-packages/srcpkgs/libheif/template
2019-07-23 15:10:46 +00:00

27 lines
746 B
Bash

# Template file for 'libheif'
pkgname=libheif
version=1.4.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=3b7cead51077ee42e687248b8cd9269fda95a5f7ef4e502c54d08d189e395368
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
}
}