void-packages/srcpkgs/leptonica/template

40 lines
1.1 KiB
Bash
Raw Normal View History

2015-05-28 05:57:36 +00:00
# Template file for 'leptonica'
pkgname=leptonica
2016-01-26 17:17:15 +00:00
version=1.73
revision=1
2015-05-28 05:57:36 +00:00
build_style=gnu-configure
makedepends="giflib-devel libpng-devel tiff-devel"
short_desc="Image processing and analysis library"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="2-clause-BSD"
homepage="http://leptonica.org/"
distfiles="http://leptonica.org/source/$pkgname-$version.tar.gz"
2016-01-26 17:17:15 +00:00
checksum=19e4335c674e7b78af9338d5382cc5266f34a62d4ce533d860af48eaa859afc1
2015-05-28 05:57:36 +00:00
post_install() {
vdoc moller52.jpg
vdoc version-notes.html
vlicense leptonica-license.txt
}
leptonica-devel_package() {
2015-05-28 14:11:02 +00:00
depends="leptonica>=${version}_${revision}"
2015-05-28 05:57:36 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include/leptonica
vmove usr/lib/pkgconfig/lept.pc
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vdoc style-guide.txt
}
}
leptonica-examples_package() {
2015-05-28 14:11:02 +00:00
depends="leptonica>=${version}_${revision}"
2015-05-28 05:57:36 +00:00
short_desc+=" - library tests and demos"
pkg_install() {
vmkdir usr/share/leptonica
rm -f -r prog/*.{l,}o prog/.deps prog/.libs
# binaries, example source, images and data
vcopy prog usr/share/leptonica
}
}