void-packages/srcpkgs/djvulibre/template
2021-01-26 12:12:12 +01:00

33 lines
840 B
Bash

# Template file for 'djvulibre'
pkgname=djvulibre
version=3.5.28
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config automake libtool"
makedepends="tiff-devel"
short_desc="Utilities for the DjVu image format"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://djvu.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/djvu/$pkgname-$version.tar.gz"
checksum=82e392a9cccfee94fa604126c67f06dbc43ed5f9f0905d15b6c8164f83ed5655
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
libdjvulibre_package() {
short_desc+=" - runtime libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
djvulibre-devel_package() {
depends="tiff-devel libdjvulibre>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}