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

@@ -1,26 +0,0 @@
DESCRIPTION="Open-Sum-It"
HOMEPAGE="http://dev.osdrawer.net/projects/sum-it"
SRC_URI="svn+http://svn.osdrawer.net/sum-it/sum-it#108"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="bsl >= 108
rez >= 108"
#CHECKSUM_MD5=""
BUILD()
{
cd open-sum-it-108
make
}
INSTALL()
{
cd open-sum-it-108
APPS_DIR=`finddir B_APPS_DIRECTORY`
mkdir -p ${DESTDIR}${APPS_DIR}/Open-Sum-It
cp Sum-It ${DESTDIR}${APPS_DIR}/Open-Sum-It/Open-Sum-It
}
LICENSE="BSD (4-clause)"
COPYRIGHT="1996-1998, 2000 Hekkelman Programmatuur B.V. All rights reserved.
1999-2000 Tim Vernum. All rights reserved."

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.
"