diff --git a/dev-qt/qsystray/qsystray-0.1.recipe b/dev-qt/qsystray/qsystray-0.1.recipe new file mode 100644 index 000000000..937b6ccfd --- /dev/null +++ b/dev-qt/qsystray/qsystray-0.1.recipe @@ -0,0 +1,48 @@ +SUMMARY="Deskbar shelf helper for Qt 4/5 applications" +DESCRIPTION="Qt system tray manager for interacting 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="1" +ARCHITECTURES="x86_gcc2 x86 x86_64" + +PROVIDES=" + cmd:qsystray = $portVersion + " + +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " + +BUILD_PREREQUIRES=" + cmd:make + cmd:g++ + cmd:gcc + cmd:ld + " + +BUILD() +{ + if [ $targetArchitecture = x86 ]; then + make -f Makefile.gcc4 + else + make -f Makefile.gcc2 + fi +} + +INSTALL() +{ + mkdir -p $binDir + + if [ $targetArchitecture = x86 ]; then + cp -af qsystray $binDir + else + cp -af qsystray_gcc2 $binDir/qsystray + fi +}