From 53271d4ecd14aa1509a89af79f37a972aadd0c1e Mon Sep 17 00:00:00 2001 From: Sergei Reznikov Date: Thu, 2 Apr 2015 13:11:47 +0300 Subject: [PATCH] PDFTranslator: add recipe for version 1.0.0 --- .../pdftranslator/pdftranslator-1.0.0.recipe | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 haiku-apps/pdftranslator/pdftranslator-1.0.0.recipe diff --git a/haiku-apps/pdftranslator/pdftranslator-1.0.0.recipe b/haiku-apps/pdftranslator/pdftranslator-1.0.0.recipe new file mode 100644 index 000000000..248c9853e --- /dev/null +++ b/haiku-apps/pdftranslator/pdftranslator-1.0.0.recipe @@ -0,0 +1,56 @@ +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"r that evolved into PDF." +LICENSE="MIT" +COPYRIGHT="2013-2015 3dEyes**" +HOMEPAGE="https://github.com/threedeyes/PDFTranslator" +SRC_URI="git+https://github.com/threedeyes/PDFTranslator#d217df5" +REVISION="1"; updateRevisionVariables +ARCHITECTURES="x86_gcc2 x86" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + pdftranslator$secondaryArchSuffix = $portVersion + addon:PDFTranslator$secondaryArchSuffix = $portVersion + " + +REQUIRES=" + haiku$secondaryArchSuffix + lib:libjpeg$secondaryArchSuffix + lib:libmupdf$secondaryArchSuffix + lib:libz$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libfreetype$secondaryArchSuffix + devel:libjbig2dec$secondaryArchSuffix + devel:libjpeg$secondaryArchSuffix + devel:libmupdf$secondaryArchSuffix + devel:libopenjp2$secondaryArchSuffix + devel:libssl$secondaryArchSuffix + devel:libz$secondaryArchSuffix + " + +BUILD_PREREQUIRES=" + cmd:g++$secondaryArchSuffix + cmd:make + " + +BUILD() +{ + make $jobArgs +} + +INSTALL() +{ + mkdir -p $addOnsDir/Translators + cp build/PDFTranslator $addOnsDir/Translators +}