mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
extra_cmake_modules: bump revision
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-2018 KDE Organisation"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/extra-cmake-modules-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="e5da3e1b67e19d7b8b5b1d867bb1e9a54d902d718e55148f3296da9f9a18c275"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user