Update sum-it recipe to new haikuporter

* Also use the github repo from HaikuArchives.
This commit is contained in:
Adrien Destugues
2013-10-19 18:54:44 +02:00
parent 6d8881b5d9
commit 7de33580cc
2 changed files with 51 additions and 26 deletions

View File

@@ -0,0 +1,51 @@
SUMMARY="Sum-It is a native spreadsheet for BeOS"
HOMEPAGE="https://github.com/HaikuArchives/OpenSumIt"
SRC_URI="git+https://github.com/HaikuArchives/OpenSumIt.git"
REVISION="1"
ARCHITECTURES="x86 x86_gcc2"
PROVIDES="
sum_it = $portVersion
app:sum_it = $portVersion
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
cmd:make
cmd:gcc
cmd:flex
cmd:bison
"
BUILD()
{
pushd bsl
BE_C_COMPILER=gcc make
PATH=`pwd`:$PATH
popd
pushd rez
BE_C_COMPILER=gcc make
PATH=`pwd`:$PATH
popd
cd sum-it
BE_C_COMPILER=gcc make
}
INSTALL()
{
mkdir -p $appsDir
cp sum-it/OpenSum-It $appsDir/Sum-It
addAppDeskbarSymlink $appsDir/Sum-It
}
LICENSE="BSD (4-clause)"
COPYRIGHT="1996-1998, 2000 Hekkelman Programmatuur B.V. All rights reserved.
1999-2000 Tim Vernum. All rights reserved."
DESCRIPTION="
Sum-It is a spreadsheet for BeOS (Download BeOS for free). This is Open Sum-It,
the open source version of Maarten Hekkelman's Sum-It application.
Sum-It has many features, including a plug-in architecture for formulas and
graphs. This product includes software developed by Hekkelman Programmatuur B.V.
"