void-packages/srcpkgs/libheif/template

28 lines
746 B
Bash
Raw Normal View History

2019-07-22 16:58:14 +02:00
# Template file for 'libheif'
pkgname=libheif
2019-09-03 21:48:32 +02:00
version=1.5.1
2019-07-22 16:58:14 +02:00
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"
2019-09-03 21:48:32 +02:00
checksum=87e3febd4d97fb483e3ac7b5399547bdc3093476058594e379bb075866d4eaf1
2019-07-22 16:58:14 +02:00
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
}
}