mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-24 17:18:51 +02:00
pdflib: We have to ship docs and sample-code due to licensing.
This commit is contained in:
@@ -11,30 +11,24 @@ software."
|
|||||||
HOMEPAGE="https://www.pdflib.com/"
|
HOMEPAGE="https://www.pdflib.com/"
|
||||||
COPYRIGHT="PDFlib GmbH"
|
COPYRIGHT="PDFlib GmbH"
|
||||||
LICENSE="PDFlib 5"
|
LICENSE="PDFlib 5"
|
||||||
REVISION="1"
|
REVISION="2"
|
||||||
SOURCE_URI="http://download.polytechnic.edu.na/pub2/openpkg1/sources/DST/pdflib/PDFlib-Lite-5.0.3-Unix-src.tar.gz"
|
SOURCE_URI="http://download.polytechnic.edu.na/pub2/openpkg1/sources/DST/pdflib/PDFlib-Lite-5.0.3-Unix-src.tar.gz"
|
||||||
CHECKSUM_SHA256="4908d84c7836cd11677c48df8d9a0bdf0021a358853804621663458fc0c94077"
|
CHECKSUM_SHA256="4908d84c7836cd11677c48df8d9a0bdf0021a358853804621663458fc0c94077"
|
||||||
SOURCE_DIR="PDFlib-Lite-$portVersion-Unix-src"
|
SOURCE_DIR="PDFlib-Lite-$portVersion-Unix-src"
|
||||||
|
|
||||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||||
|
|
||||||
|
# no devel package, due to licensing
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
pdflib = $portVersion
|
pdflib = $portVersion
|
||||||
|
cmd:pdflib_config = $portVersion
|
||||||
lib:libpdf = $portVersion
|
lib:libpdf = $portVersion
|
||||||
|
devel:libpdf = $portVersion
|
||||||
"
|
"
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
haiku
|
haiku
|
||||||
"
|
"
|
||||||
|
|
||||||
PROVIDES_devel="
|
|
||||||
pdflib_devel = $portVersion
|
|
||||||
cmd:pdflib_config = $portVersion
|
|
||||||
devel:libpdf = $portVersion
|
|
||||||
"
|
|
||||||
REQUIRES_devel="
|
|
||||||
pdflib == $portVersion base
|
|
||||||
"
|
|
||||||
|
|
||||||
BUILD_REQUIRES="
|
BUILD_REQUIRES="
|
||||||
haiku${secondaryArchSuffix}_devel
|
haiku${secondaryArchSuffix}_devel
|
||||||
"
|
"
|
||||||
@@ -65,16 +59,19 @@ BUILD()
|
|||||||
|
|
||||||
INSTALL()
|
INSTALL()
|
||||||
{
|
{
|
||||||
mkdir -p $binDir
|
|
||||||
# libtool install rule is semi-busted
|
# libtool install rule is semi-busted
|
||||||
|
mkdir -p $binDir
|
||||||
make install || true
|
make install || true
|
||||||
|
|
||||||
mkdir -p $libDir
|
mkdir -p $libDir
|
||||||
cp "./libs/pdflib/.libs/libpdf.so" $libDir/libpdf.so
|
cp "./libs/pdflib/.libs/libpdf.so" $libDir/libpdf.so
|
||||||
|
|
||||||
|
# documentation & examples -- we must include these due to licensing
|
||||||
|
mkdir -p $docDir/
|
||||||
|
cp -R doc/* $docDir/
|
||||||
|
mkdir -p $developDir/sample-code/
|
||||||
|
cp -R bind/pdflib/ $developDir/sample-code/
|
||||||
|
|
||||||
prepareInstalledDevelLibs \
|
prepareInstalledDevelLibs \
|
||||||
libpdf
|
libpdf
|
||||||
packageEntries devel \
|
|
||||||
$binDir \
|
|
||||||
$developDir
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user