mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
51 lines
1.5 KiB
Bash
51 lines
1.5 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."
|
|
HOMEPAGE="http://haikuware.ru/software/djvuviewer"
|
|
COPYRIGHT="2005-2018 3dEyes**"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="5"
|
|
SOURCE_URI="https://github.com/threedeyes/DjVuViewer/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="6d2ffc500fd63c4c0a7fa2d996e3b0598820e6b709c06b36bf22e772e23a0c46"
|
|
SOURCE_FILENAME="DjVuViewer-$portVersion.tar.gz"
|
|
SOURCE_DIR="DjVuViewer-$portVersion"
|
|
|
|
ARCHITECTURES="all"
|
|
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
|
|
}
|