Files
haikuports/kde-frameworks/extra-cmake-modules/extra_cmake_modules-5.38.0.recipe
Sergei Reznikov a1de2b8e0a Bring KDE Frameworks 5.38.0 to Haiku
* base library set for ongoing KDE apps
* some apps need more libs to be ported which will come later
2017-10-11 16:47:02 +03:00

56 lines
1.3 KiB
Bash

SUMMARY="Extra modules and scripts for CMake"
DESCRIPTION="The Extra CMake Modules package, or ECM, adds to the \
modules provided by CMake, including ones used by find_package() to find \
common software, ones that can be used directly in CMakeLists.txt files to \
perform common tasks and toolchain files that must be specified on the \ commandline by the user."
HOMEPAGE="https://projects.kde.org/projects/kdesupport/extra-cmake-modules/"
COPYRIGHT="2010-2017 KDE Organisation"
LICENSE="BSD (2-clause)"
REVISION="1"
SOURCE_URI="https://github.com/KDE/extra-cmake-modules/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="8e22fa53e4b1a338ddab039a65851a39b7ee6ed6a41f99300486b759395d67bb"
SOURCE_DIR="extra-cmake-modules-$portVersion"
ARCHITECTURES="!x86_gcc2 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
extra_cmake_modules = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libQt5Core$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:make
cmd:qcollectiongenerator$secondaryArchSuffix
cmd:linguist$secondaryArchSuffix
"
BUILD()
{
mkdir -p build
cd build
cmake .. -DSHARE_INSTALL_DIR=$dataDir/cmake/Modules
make $jobArgs
}
INSTALL()
{
cd build
make install
}
TEST()
{
cd build
make test
}