mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
extra-cmake-modules: new recipe (#1167)
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
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="204661d6abe5d12fb67682d109d7e8ddc4f4b974890a4da5f8082f233f34a54f"
|
||||
SOURCE_DIR="extra-cmake-modules-$portVersion"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
extra_cmake_modules = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:make
|
||||
cmd:g++
|
||||
cmd:qcollectiongenerator$secondaryArchSuffix
|
||||
cmd:linguist$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p haiku_build
|
||||
cd haiku_build
|
||||
|
||||
cmake .. -DSHARE_INSTALL_DIR=$dataDir/cmake/Modules
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd haiku_build
|
||||
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user