Files
haikuports/app-text/xpdf/xpdf-3.04.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

61 lines
1.4 KiB
Bash

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="2"
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
}