Merge pull request #1671 from pullmoll/leptonica

leptonica: fix depends for subpackages
This commit is contained in:
Juan RP 2015-05-28 16:33:36 +02:00
commit 24af6b3276

View file

@ -1,7 +1,7 @@
# Template file for 'leptonica'
pkgname=leptonica
version=1.72
revision=1
revision=2
build_style=gnu-configure
makedepends="giflib-devel libpng-devel tiff-devel"
short_desc="Image processing and analysis library"
@ -17,7 +17,7 @@ post_install() {
vlicense leptonica-license.txt
}
leptonica-devel_package() {
depends="${pkgname}>=${version}_${revision}"
depends="leptonica>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include/leptonica
@ -28,7 +28,7 @@ leptonica-devel_package() {
}
}
leptonica-examples_package() {
depends="${pkgname}>=${version}_${revision}"
depends="leptonica>=${version}_${revision}"
short_desc+=" - library tests and demos"
pkg_install() {
vmkdir usr/share/leptonica