34 lines
840 B
Bash
34 lines
840 B
Bash
# Template file for 'djvulibre'
|
|
pkgname=djvulibre
|
|
version=3.5.28
|
|
revision=2
|
|
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=fcd009ea7654fde5a83600eb80757bd3a76998e47d13c66b54c8db849f8f2edc
|
|
|
|
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
|
|
}
|
|
}
|