mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
64 lines
1.5 KiB
Bash
64 lines
1.5 KiB
Bash
SUMMARY="Pascal Qt interface"
|
|
DESCRIPTION="Pascal wrapper around Qt interfaces.
|
|
Just the necessary stuff for Lazarus is wrapped here."
|
|
HOMEPAGE="http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html"
|
|
COPYRIGHT="2005-2011 Jan Van hijfte"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="3"
|
|
SOURCE_URI="http://users.telenet.be/Jan.Van.hijfte/qtforfpc/V2.5/qt4pas-V2.5_Qt4.5.3.tar.gz"
|
|
CHECKSUM_SHA256="825423db80da4df5c21816c0392b3394cddfe2f3293dfd08ace84941726affea"
|
|
SOURCE_DIR="qt4pas-V2.5_Qt4.5.3"
|
|
PATCHES="qt4pas-haiku-fix.patch"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 !x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
qt4pas$secondaryArchSuffix = $portVersion
|
|
lib:libqt4pas$secondaryArchSuffix = 5.2.5 compat >= 5.2
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libQtCore$secondaryArchSuffix
|
|
lib:libQtGui$secondaryArchSuffix
|
|
lib:libQtNetwork$secondaryArchSuffix
|
|
lib:libQtWebKit$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
qt4pas$secondaryArchSuffix = $portVersion
|
|
devel:libqt4pas$secondaryArchSuffix = 5.2.5 compat >= 5.2
|
|
"
|
|
REQUIRES_devel="
|
|
haiku$secondaryArchSuffix
|
|
qt4pas$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libqtcore$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:qmake$secondaryArchSuffix >= 4.8
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
qmake${secondaryArchSuffix/_/-}
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $libDir
|
|
cp -P libQt4Pas.so* $libDir
|
|
# prepare develop/lib
|
|
prepareInstalledDevelLib libQt4Pas
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|