Files
haikuports/dev-qt/automoc/automoc-0.9.88.recipe
Humdinger a38db25c39 Changes in SUMMARY, DESCRIPTION and whitespace.
Removed the full-stop and repeating package name in SUMMARY.
Removed hard line breaks, broke up some very long paragraphs and
use bullet lists where possible.
All done by browsing through HaikuDepot. There may be (many) more left
in the whole haikuports repo...

Included 10 extended desriptions done by soyoye14 for GCI 2014
(https://www.google-melange.com/gci/task/view/google/gci2014/5240373098053632)

Removed/insert whitespace where it seems to be the custom in recipes.
Sometimes rearranged elements of a recipe (moving license and copyright
up, for example).
2015-01-12 19:23:51 +01:00

50 lines
1.2 KiB
Plaintext

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"
SRC_URI="git+git://anongit.kde.org/automoc.git#afddb64aa0"
REVISION="2"
LICENSE="BSD (2-clause)"
COPYRIGHT="2007 Matthias Kretz"
PATCHES="automoc-$portVersion.patch"
ARCHITECTURES="x86"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
automoc4${secondaryArchSuffix} = $portVersion
cmd:automoc4
"
REQUIRES="
haiku${secondaryArchSuffix}
libqt4${secondaryArchSuffix} >= 4.8
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:make
cmd:g++${secondaryArchSuffix}
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
libqt4${secondaryArchSuffix}_devel >= 4.8
"
BUILD()
{
cmake -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_BUILD_TYPE=Release
make $jobArgs
}
INSTALL()
{
make install
fixPkgconfig
}