void-packages/srcpkgs/djvulibre/template

32 lines
808 B
Plaintext
Raw Normal View History

2011-10-21 22:01:45 +02:00
# Template file for 'djvulibre'
pkgname=djvulibre
2014-05-25 12:17:06 +02:00
version=3.5.25.3
revision=1
wrksrc="${pkgname}-${version%.*}"
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"
2014-05-25 12:17:06 +02:00
checksum=898d7ed6dd2fa311a521baa95407a91b20a872d80c45e8245442d64f142cb1e0
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
}
}