mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
PDFTranslator: add recipe for version 1.0.0
This commit is contained in:
56
haiku-apps/pdftranslator/pdftranslator-1.0.0.recipe
Normal file
56
haiku-apps/pdftranslator/pdftranslator-1.0.0.recipe
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user