mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
xpdf cli tools (#802)
This commit is contained in:
60
app-text/xpdf/xpdf-3.04.recipe
Normal file
60
app-text/xpdf/xpdf-3.04.recipe
Normal file
@@ -0,0 +1,60 @@
|
||||
SUMMARY="Open source Portable Document Format (PDF) viewer"
|
||||
DESCRIPTION="The Xpdf project also includes a PDF text extractor, PDF-to-PostScript \
|
||||
converter, and various other utilities.
|
||||
|
||||
The non-X components should run on pretty much any system with a decent \
|
||||
C++ compiler. Xpdf will run on 32-bit and 64-bit machines."
|
||||
HOMEPAGE="http://www.foolabs.com/xpdf"
|
||||
COPYRIGHT="1996-2014 Glyph & Cog, LLC."
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://mirror.ctan.org/support/xpdf/xpdf-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="11390c74733abcb262aaca4db68710f13ffffd42bfe2a0861a5dfc912b2977e5"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
xpdf$secondaryArchSuffix = $portVersion
|
||||
cmd:pdfdetach$secondaryArchSuffix
|
||||
cmd:pdffonts$secondaryArchSuffix
|
||||
cmd:pdfimages$secondaryArchSuffix
|
||||
cmd:pdfinfo$secondaryArchSuffix
|
||||
cmd:pdftops$secondaryArchSuffix
|
||||
cmd:pdftotext$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/xpdfrc keep-old
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure \
|
||||
--enable-multithreaded \
|
||||
--enable-cmyk
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
Reference in New Issue
Block a user