void-packages/srcpkgs/libheif/template
2019-09-06 08:48:47 +02:00

27 lines
746 B
Bash

# Template file for 'libheif'
pkgname=libheif
version=1.5.1
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=87e3febd4d97fb483e3ac7b5399547bdc3093476058594e379bb075866d4eaf1
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
}
}