Files
haikuports/haiku-apps/sum_it/sum_it-0.2beta.recipe
Humdinger f287b26f16 Sum-It: fix build
There's no package with cmd:rez available. Build and use the one
in Sum-It's source.
Also improve description, summary and copyright.

Strangely, even though the source code hasn't changed since revision 3,
Sum-It now doesn't crash anymore when pasting from clipboard...
2016-11-13 12:10:05 +01:00

56 lines
1.2 KiB
Bash

SUMMARY="A native spreadsheet application"
DESCRIPTION="This is the open source version of Maarten Hekkelman's Sum-It \
application. Sum-It has basic features, including a plug-in architecture for \
formulas and graphs and im/export of comma or tab separated files."
HOMEPAGE="https://github.com/HaikuArchives/OpenSumIt"
COPYRIGHT="1996-1998, 2000 Hekkelman Programmatuur B.V.
1999-2000 Tim Vernum"
LICENSE="BSD (4-clause)"
REVISION="5"
SOURCE_URI="https://github.com/HaikuArchives/OpenSumIt/archive/cdab184a27.tar.gz"
CHECKSUM_SHA256="064cd9eeab62b0bab12400d23d922b912c46baccd9040dd04e8b16afd91bf70a"
SOURCE_DIR="OpenSumIt-cdab184a27cb9bbf0f088384a9ecfb07b9daefdc"
ARCHITECTURES="!x86 x86_gcc2"
PROVIDES="
sum_it = $portVersion
app:Sum_It = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc
cmd:flex
cmd:bison
"
BUILD()
{
pushd bsl
BE_C_COMPILER=gcc make DEBUG=0
PATH=`pwd`:$PATH
popd
pushd rez
BE_C_COMPILER=gcc make DEBUG=0
PATH=`pwd`:$PATH
popd
cd sum-it
BE_C_COMPILER=gcc make DEBUG=0
}
INSTALL()
{
mkdir -p $appsDir
cp sum-it/OpenSum-It $appsDir/Sum-It
addAppDeskbarSymlink $appsDir/Sum-It
}