mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 13:38:52 +02:00
72 lines
1.9 KiB
Bash
72 lines
1.9 KiB
Bash
SUMMARY="A library providing access to Open Collaboration services"
|
|
DESCRIPTION="Attica supports multiple Open Collaboration Service (OCS) \
|
|
providers at the same time. With Attica you can easily access services \
|
|
rom providers such as openDesktop.org. It implements the freedesktop.org \
|
|
specification for the Open Collaboration Services API."
|
|
HOMEPAGE="http://www.kde.org"
|
|
COPYRIGHT="2009 KDE e.V."
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="1"
|
|
SOURCE_URI="http://download.kde.org/stable/attica/attica-0.4.2.tar.bz2"
|
|
CHECKSUM_SHA256="3b9c53770862c0b21b7af7ea15951c35831126022bb8d052760d9cf8bd7ee4f8"
|
|
SOURCE_DIR="attica-0.4.2"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libattica$secondaryArchSuffix = $portVersion
|
|
lib:libattica$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
libqt4$secondaryArchSuffix >= 4.8
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libattica${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libattica$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
haiku$secondaryArchSuffix
|
|
libattica$secondaryArchSuffix == $portVersion base
|
|
libqt4${secondaryArchSuffix}_devel >= 4.8
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
libqt4${secondaryArchSuffix}_devel >= 4.8
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:cmake
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=$prefix \
|
|
-DCMAKE_BUILD_TYPE=Release -DATTICA_ENABLE_TESTS=off
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
# Clean up after CMake
|
|
mkdir -p $includeDir/attica/
|
|
mkdir -p $libDir
|
|
mkdir -p $developLibDir/pkgconfig/
|
|
mv -f $prefix/lib/pkgconfig/* $developLibDir/pkgconfig/
|
|
rm -rf $prefix/lib/pkgconfig/
|
|
mv -f $prefix/lib/*.so* $libDir
|
|
mv -f $prefix/include/attica/* $includeDir/attica/
|
|
rm -rf $prefix/include/
|
|
|
|
prepareInstalledDevelLibs libattica
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|