From fc979052197a5ff33d971ddd1bda6170bd9fc77b Mon Sep 17 00:00:00 2001 From: jbu Date: Thu, 28 May 2015 07:57:36 +0200 Subject: [PATCH] New package: leptonica-1.72 --- common/shlibs | 1 + srcpkgs/leptonica-devel | 1 + srcpkgs/leptonica-examples | 1 + srcpkgs/leptonica/template | 39 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 42 insertions(+) create mode 120000 srcpkgs/leptonica-devel create mode 120000 srcpkgs/leptonica-examples create mode 100644 srcpkgs/leptonica/template diff --git a/common/shlibs b/common/shlibs index 9e3ab9f8c1..03a6b5365c 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2045,3 +2045,4 @@ libkasten2okteta1core.so.1 okteta-4.14.2_1 libhttp_parser.so.2.5.0 http-parser-2.5.0_1 libmaa.so.3 libmaa-1.3.2_1 libcodeblocks.so.0 codeblocks-13.12_1 +liblept.so.4 leptonica-1.72_1 diff --git a/srcpkgs/leptonica-devel b/srcpkgs/leptonica-devel new file mode 120000 index 0000000000..a1bc0c8e92 --- /dev/null +++ b/srcpkgs/leptonica-devel @@ -0,0 +1 @@ +leptonica \ No newline at end of file diff --git a/srcpkgs/leptonica-examples b/srcpkgs/leptonica-examples new file mode 120000 index 0000000000..a1bc0c8e92 --- /dev/null +++ b/srcpkgs/leptonica-examples @@ -0,0 +1 @@ +leptonica \ No newline at end of file diff --git a/srcpkgs/leptonica/template b/srcpkgs/leptonica/template new file mode 100644 index 0000000000..318713512e --- /dev/null +++ b/srcpkgs/leptonica/template @@ -0,0 +1,39 @@ +# Template file for 'leptonica' +pkgname=leptonica +version=1.72 +revision=1 +build_style=gnu-configure +makedepends="giflib-devel libpng-devel tiff-devel" +short_desc="Image processing and analysis library" +maintainer="Jürgen Buchmüller " +license="2-clause-BSD" +homepage="http://leptonica.org/" +distfiles="http://leptonica.org/source/$pkgname-$version.tar.gz" +checksum=79d5eadd32658c9fea38700c975d60aa3d088eaa3e307659f004d40834de1f56 + +post_install() { + vdoc moller52.jpg + vdoc version-notes.html + vlicense leptonica-license.txt +} +leptonica-devel_package() { + depends="${pkgname}>=${version}_${revision}" + 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() { + depends="${pkgname}>=${version}_${revision}" + 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 + } +}