1SUMMARY="Ohm's Law calculator"
2DESCRIPTION="BeOhms is a calculator that is based of of Ohm's Law. This \
3calculator solves either voltage, resistance, or current, given two of the \
4variables."
5HOMEPAGE="https://github.com/HaikuArchives/BeOhms"
6COPYRIGHT="1999 Kyle Crane"
7LICENSE="Public Domain"
8REVISION="2"
9srcGitRev="dfdb28d7282aba7d7d616460e85692e68e27a762"
10SOURCE_URI="https://github.com/HaikuArchives/BeOhms/archive/$srcGitRev.tar.gz"
11CHECKSUM_SHA256="a2f414d54a94c8f84b2350097d6e48e93777266122272f80614a09b9c8c9f2fc"
12SOURCE_FILENAME="BeOhms-$srcGitRev.tar.gz"
13SOURCE_DIR="BeOhms-$srcGitRev"
14
15ARCHITECTURES="all"
16
17PROVIDES="
18	beohms = $portVersion
19	app:BeOhms = $portVersion
20	"
21REQUIRES="
22	haiku
23	"
24
25BUILD_REQUIRES="
26	haiku_devel
27	"
28BUILD_PREREQUIRES="
29	makefile_engine
30	cmd:gcc
31	cmd:ld
32	cmd:make
33	"
34
35BUILD()
36{
37	cd src
38	mkdir -p bin
39	make $jobArgs TARGET_DIR=bin
40}
41
42INSTALL()
43{
44	install -d $appsDir
45	install -t $appsDir src/bin/BeOhms
46	addAppDeskbarSymlink $appsDir/BeOhms
47}
48