void-packages/srcpkgs/djvulibre/template

30 lines
771 B
Bash
Raw Normal View History

2011-10-21 22:01:45 +02:00
# Template file for 'djvulibre'
pkgname=djvulibre
2015-02-13 19:05:01 +01:00
version=3.5.27
revision=1
build_style=gnu-configure
2014-05-25 12:17:06 +02:00
hostmakedepends="pkg-config ImageMagick"
makedepends="tiff-devel"
2011-10-21 22:01:45 +02:00
short_desc="Utilities for the DjVu image format"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://djvu.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/djvu/$pkgname-$version.tar.gz"
2015-02-13 19:05:01 +01:00
checksum=e69668252565603875fb88500cde02bf93d12d48a3884e472696c896e81f505f
libdjvulibre_package() {
2014-05-25 12:17:06 +02:00
short_desc+=" - runtime libraries"
pkg_install() {
2014-05-25 12:17:06 +02:00
vmove "usr/lib/*.so.*"
}
}
djvulibre-devel_package() {
2014-05-25 12:17:06 +02:00
depends="tiff-devel libdjvulibre>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-05-25 12:17:06 +02:00
vmove usr/lib/*.so
}
}