From 96157265ec0e2fb8a995e664dc2bae5f7366869c Mon Sep 17 00:00:00 2001 From: Sergei Reznikov Date: Fri, 27 Mar 2015 11:42:18 +0300 Subject: [PATCH] DjVuTranslator: add recipe for version 1.0.1 --- .../djvutranslator-1.0.1.recipe | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 haiku-apps/djvutranslator/djvutranslator-1.0.1.recipe diff --git a/haiku-apps/djvutranslator/djvutranslator-1.0.1.recipe b/haiku-apps/djvutranslator/djvutranslator-1.0.1.recipe new file mode 100644 index 000000000..2ea063747 --- /dev/null +++ b/haiku-apps/djvutranslator/djvutranslator-1.0.1.recipe @@ -0,0 +1,48 @@ +SUMMARY="A translator for DjVu files" +DESCRIPTION=" +This is a translator for DjVu files. DjVu is a computer file format designed \ +primarily to store scanned documents, especially those containing a \ +combination of text, line drawings, indexed color images, and photographs. \ +It uses technologies such as image layer separation of text and \ +background/images, progressive loading, arithmetic coding, and lossy \ +compression for bitonal (monochrome) images. This allows for high-quality, \ +readable images to be stored in a minimum of space, so that they can be made \ +available on the web." + +LICENSE="GNU GPL v2" +COPYRIGHT="2005-2013 3dEyes" +HOMEPAGE="http://haikuware.ru/software/djvuviewer" +SRC_URI="git+https://github.com/threedeyes/DjVuViewer#358f1b5" +REVISION="1" +ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + djvutranslator = $portVersion + addon:DjVuTranslator = $portVersion + " + +REQUIRES=" + haiku + lib:libdjvulibre + " + +BUILD_REQUIRES=" + haiku_devel + devel:libdjvulibre + " + +BUILD_PREREQUIRES=" + cmd:g++ + cmd:make + " + +BUILD() +{ + make $jobArgs -f Makefile.Translator +} + +INSTALL() +{ + mkdir -p $addOnsDir/Translators + cp DjVuTranslator $addOnsDir/Translators +}