1SUMMARY="A translator for DjVu files" 2DESCRIPTION=" 3This is a translator for DjVu files. DjVu is a computer file format designed \ 4primarily to store scanned documents, especially those containing a \ 5combination of text, line drawings, indexed color images, and photographs. \ 6It uses technologies such as image layer separation of text and \ 7background/images, progressive loading, arithmetic coding, and lossy \ 8compression for bitonal (monochrome) images. This allows for high-quality, \ 9readable images to be stored in a minimum of space, so that they can be made \ 10available on the web." 11HOMEPAGE="https://github.com/threedeyes/DjVuViewer" 12COPYRIGHT="2005-2018 3dEyes**" 13LICENSE="GNU GPL v2" 14REVISION="1" 15SOURCE_URI="https://github.com/threedeyes/DjVuViewer/archive/$portVersion.tar.gz" 16CHECKSUM_SHA256="a444c25bf889407ccdbb5a1250f37cf2122990e99894057f768dcb180088f5d9" 17SOURCE_FILENAME="DjVuViewer-$portVersion.tar.gz" 18SOURCE_DIR="DjVuViewer-$portVersion" 19 20ARCHITECTURES="all" 21SECONDARY_ARCHITECTURES="x86_gcc2 x86" 22 23PROVIDES=" 24 djvutranslator$secondaryArchSuffix = $portVersion 25 addon:DjVuTranslator$secondaryArchSuffix = $portVersion 26 " 27REQUIRES=" 28 haiku$secondaryArchSuffix 29 lib:libdjvulibre$secondaryArchSuffix 30 " 31 32BUILD_REQUIRES=" 33 haiku${secondaryArchSuffix}_devel 34 devel:libdjvulibre$secondaryArchSuffix 35 " 36BUILD_PREREQUIRES=" 37 cmd:g++$secondaryArchSuffix 38 cmd:make 39 " 40 41BUILD() 42{ 43 make $jobArgs -f Makefile.Translator 44} 45 46INSTALL() 47{ 48 mkdir -p $addOnsDir/Translators 49 cp DjVuTranslator $addOnsDir/Translators 50} 51