Files
haikuports/dev-qt/qsystray/qsystray-0.1.recipe
2015-11-04 16:36:23 +03:00

50 lines
883 B
Bash

SUMMARY="Deskbar shelf helper for Qt 4/5 applications"
DESCRIPTION="Qt system tray manager for interaction with Deskbar shelf"
HOMEPAGE="http://github.com/qt-haiku/qt4"
SOURCE_URI="svn+https://github.com/qt-haiku/qt4/trunk/src/3rdparty/haiku-tools/qsystray"
SOURCE_DIR="qsystray"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="2012-2015 Gerasim Troeglazov (3dEyes**)"
REVISION="3"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
qsystray${secondaryArchSuffix} = $portVersion
cmd:qsystray = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:make
cmd:g++
cmd:gcc
cmd:ld
"
BUILD()
{
if [ $targetArchitecture = x86_gcc2 ]; then
make -f Makefile.gcc2
else
make -f Makefile.gcc4
fi
}
INSTALL()
{
mkdir -p $binDir
if [ $targetArchitecture = x86_gcc2 ]; then
cp -af qsystray_gcc2 $binDir/qsystray
else
cp -af qsystray $binDir
fi
}