Files
haikuports/haiku-apps/djvutranslator/djvutranslator-1.0.1.recipe
2015-04-02 14:14:49 +03:00

49 lines
1.3 KiB
Bash

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-2015 3dEyes**"
HOMEPAGE="http://haikuware.ru/software/djvuviewer"
SRC_URI="git+https://github.com/threedeyes/DjVuViewer#1a55eaa"
REVISION="3"
ARCHITECTURES="x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
djvutranslator$secondaryArchSuffix = $portVersion
addon:DjVuTranslator$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libdjvulibre$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libdjvulibre$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:g++$secondaryArchSuffix
cmd:make
"
BUILD()
{
make $jobArgs -f Makefile.Translator
}
INSTALL()
{
mkdir -p $addOnsDir/Translators
cp DjVuTranslator $addOnsDir/Translators
}