1SUMMARY="A native spreadsheet application"
2DESCRIPTION="This is the open source version of Maarten Hekkelman's Sum-It \
3application. Sum-It has basic features, including a plug-in architecture for \
4formulas and graphs and im/export of comma or tab separated files."
5HOMEPAGE="https://github.com/beos-zealot/OpenSumIt"
6COPYRIGHT="1996-1998, 2000 Hekkelman Programmatuur B.V.
7	1999-2000 Tim Vernum"
8LICENSE="BSD (4-clause)"
9REVISION="8"
10srcGitRev="765dc7077bf03c7448fcdd708e7ce43b5f1f0f71"
11SOURCE_URI="https://github.com/X547/OpenSumIt/archive/$srcGitRev.tar.gz"
12CHECKSUM_SHA256="897c0455a63aae78e509bc79783ad7bac310a47ca080b8d3dddcd9f7e2493413"
13SOURCE_DIR="OpenSumIt-$srcGitRev"
14PATCHES="sum_it-$portVersion.patchset"
15
16ARCHITECTURES="all"
17
18PROVIDES="
19	sum_it = $portVersion
20	app:Sum_It = $portVersion
21	"
22REQUIRES="
23	haiku
24	"
25
26BUILD_REQUIRES="
27	haiku_devel
28	"
29BUILD_PREREQUIRES="
30	cmd:gcc
31	cmd:make
32	cmd:rez
33	"
34
35BUILD()
36{
37	pushd bsl
38	make
39	PATH=`pwd`:$PATH
40	popd
41
42	pushd sum-it/Resources
43	rc sum-it-types.rdef
44	popd
45
46	make -C sum-it
47}
48
49INSTALL()
50{
51	mkdir -p $appsDir
52	cp sum-it/OpenSum-It $appsDir/Sum-It
53	addAppDeskbarSymlink $appsDir/Sum-It
54}
55