SUMMARY="A simple to use point of sale system and product management" DESCRIPTION="This application is designed for the fair trade group run by the owners \ of www.transfair.org. It supports sellers during trade and products can be \ scanned using a bar code scanner and all of them will be add in the shopping basket" HOMEPAGE="https://github.com/czeidler/fairtrade" COPYRIGHT="2006-2013 Clemens Zeidler" LICENSE="MIT" REVISION="3" srcGitRev="e02a920fddbf651afd4355a73bc673a07e51f74c" SOURCE_URI="${HOMEPAGE}/archive/$srcGitRev.tar.gz" CHECKSUM_SHA256="40627283f4d1032886c9483283572b597d3ccb057d8269af203aecf0b8c4e603" SOURCE_DIR="fairtrade-$srcGitRev" ARCHITECTURES="all !x86" PROVIDES=" fairtrade = $portVersion app:fairtrade = $portVersion " REQUIRES=" haiku lib:libsqlite3 " BUILD_REQUIRES=" haiku_devel devel:libsqlite3 " BUILD_PREREQUIRES=" makefile_engine cmd:gcc cmd:make " BUILD() { make $jobArgs cd ConfigApp make $jobArgs cd ../Import make $jobArgs OBJ_DIR=objects } INSTALL() { mkdir -p $appsDir/fairtrade cp objects*/fairtrade $appsDir/fairtrade/fairtrade cp ConfigApp/objects*/config $appsDir/fairtrade/config cp Import/objects/import $appsDir/fairtrade/import mkdir $appsDir/fairtrade/pictures cp -R pictures/* $appsDir/fairtrade/pictures cp klack $appsDir/fairtrade/klack addAppDeskbarSymlink $appsDir/fairtrade/fairtrade } TEST() { make check }