mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
qt4pas: new recipe for version 2.5.0 (#871)
This is a required dependency to build Lazarus under Haiku.
This commit is contained in:
62
dev-qt/qt4pas/qt4pas-2.5.0.recipe
Normal file
62
dev-qt/qt4pas/qt4pas-2.5.0.recipe
Normal file
@@ -0,0 +1,62 @@
|
||||
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="1"
|
||||
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"
|
||||
|
||||
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:libQtWebKit$secondaryArchSuffix
|
||||
lib:libQtGui$secondaryArchSuffix
|
||||
lib:libQtNetwork$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
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
qmake${secondaryArchSuffix/_/-}
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $libDir
|
||||
cp -P libQt4Pas.so* $libDir
|
||||
# prepare develop/lib
|
||||
prepareInstalledDevelLib libQt4Pas
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user