mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
47 lines
1.1 KiB
Bash
47 lines
1.1 KiB
Bash
SUMMARY="Automatically run MOC on Qt source files"
|
|
DESCRIPTION="Developed by KDE, automoc is a tool designed for use with \
|
|
CMake that generates lists of files to run MOC on. It's required for \
|
|
building KDE."
|
|
HOMEPAGE="https://techbase.kde.org/Development/Tools/Automoc4"
|
|
COPYRIGHT="2007 Matthias Kretz"
|
|
LICENSE="BSD (2-clause)"
|
|
REVISION="3"
|
|
SOURCE_URI="https://github.com/KDE/automoc/archive/afddb64aa0d6272cbae52fb8d8fa9355a0350e21.tar.gz"
|
|
CHECKSUM_SHA256="bd24981daaa037f3e680427a7670cac18502e7ce3f548560fad0b3605b0ae85f"
|
|
SOURCE_DIR="automoc-afddb64aa0d6272cbae52fb8d8fa9355a0350e21"
|
|
PATCHES="automoc-$portVersion.patch"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
automoc${secondaryArchSuffix} = $portVersion
|
|
cmd:automoc4
|
|
"
|
|
REQUIRES="
|
|
haiku${secondaryArchSuffix}
|
|
libqt4${secondaryArchSuffix} >= 4.8
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
libqt4${secondaryArchSuffix}_devel >= 4.8
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:g++${secondaryArchSuffix}
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_BUILD_TYPE=Release
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
fixPkgconfig
|
|
}
|