mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
51 lines
1.4 KiB
Bash
51 lines
1.4 KiB
Bash
SUMMARY="A translator for PDF files"
|
|
DESCRIPTION="
|
|
This is a translator for PDF files based on MuPDF library.
|
|
|
|
Portable Document Format (PDF) is a file format used to present documents in \
|
|
a manner independent of application software, hardware, and operating \
|
|
systems. Each PDF file encapsulates a complete description of a fixed-layout \
|
|
flat document, including the text, fonts, graphics, and other information \
|
|
needed to display it. In 1991, Adobe Systems co-founder John Warnock outlined \
|
|
a system called \"Camelot\" that evolved into PDF."
|
|
HOMEPAGE="https://github.com/threedeyes/PDFTranslator"
|
|
COPYRIGHT="2012-2015 3dEyes**"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
COMMIT="b888404886ce659baf2075ae663a1c59d93b20a3"
|
|
SOURCE_URI="https://github.com/threedeyes/PDFTranslator/archive/$COMMIT.tar.gz"
|
|
CHECKSUM_SHA256="e29d5b737a434c04f1304c60182dee6e6130b2fc31388b2e0aacd1b74565ba92"
|
|
SOURCE_DIR="PDFTranslator-$COMMIT"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
pdftranslator$secondaryArchSuffix = $portVersion
|
|
addon:PDFTranslator$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libmupdf$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libmupdf$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $addOnsDir/Translators
|
|
cp build/PDFTranslator $addOnsDir/Translators
|
|
}
|