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%.*}"
|
2011-10-24 14:14:47 +02:00
|
|
|
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"
|
2013-01-08 10:10:40 +01:00
|
|
|
homepage="http://djvu.sourceforge.net/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/djvu/$pkgname-$version.tar.gz"
|
2014-05-25 12:17:06 +02:00
|
|
|
checksum=898d7ed6dd2fa311a521baa95407a91b20a872d80c45e8245442d64f142cb1e0
|
2013-04-12 09:46:44 +02:00
|
|
|
|
|
|
|
libdjvulibre_package() {
|
2014-05-25 12:17:06 +02:00
|
|
|
short_desc+=" - runtime libraries"
|
2013-04-12 09:46:44 +02:00
|
|
|
pkg_install() {
|
2014-05-25 12:17:06 +02:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-12 09:46:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
djvulibre-devel_package() {
|
2014-05-25 12:17:06 +02:00
|
|
|
depends="tiff-devel libdjvulibre>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-12 09:46:44 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-05-25 12:17:06 +02:00
|
|
|
vmove usr/lib/*.so
|
2013-04-12 09:46:44 +02:00
|
|
|
}
|
|
|
|
}
|