mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
63 lines
1.4 KiB
Bash
63 lines
1.4 KiB
Bash
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="1"
|
|
commit="2b4ff648e2118021b092c4f0d9d0b61bc51c1374"
|
|
SOURCE_URI="${HOMEPAGE}/archive/$commit.tar.gz"
|
|
CHECKSUM_SHA256="3508410755c1bdf9c90403fd5bbf622f5f6036fe7a787cfe570c6542fd9f4186"
|
|
SOURCE_DIR="fairtrade-$commit"
|
|
PATCHES="fairtrade-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 !x86 x86_64"
|
|
|
|
PROVIDES="
|
|
fairtrade = $portVersion
|
|
app:fairtrade = $portVersion
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku
|
|
lib:libsqlite3
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libsqlite3
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:make
|
|
cmd:gcc
|
|
"
|
|
|
|
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
|
|
}
|