29 lines
762 B
Bash
29 lines
762 B
Bash
# Template file for 'djvulibre'
|
|
pkgname=djvulibre
|
|
version=3.5.27
|
|
revision=4
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="tiff-devel"
|
|
short_desc="Utilities for the DjVu image format"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://djvu.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/djvu/$pkgname-$version.tar.gz"
|
|
checksum=e69668252565603875fb88500cde02bf93d12d48a3884e472696c896e81f505f
|
|
|
|
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
|
|
}
|
|
}
|