PDFTranslator: add recipe for version 1.0.0

This commit is contained in:
Sergei Reznikov
2015-04-02 13:11:47 +03:00
parent ef20e467d7
commit 53271d4ecd

View File

@@ -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
}