0
0
Fork 0
haikuports/haiku-apps/beohms/beohms-0.1~git.recipe

48 lines
982 B
Bash

SUMMARY="Ohm's Law calculator"
DESCRIPTION="BeOhms is a calculator that is based of of Ohm's Law. This \
calculator solves either voltage, resistance, or current, given two of the \
variables."
HOMEPAGE="https://github.com/HaikuArchives/BeOhms"
COPYRIGHT="1999 Kyle Crane"
LICENSE="Public Domain"
REVISION="2"
srcGitRev="dfdb28d7282aba7d7d616460e85692e68e27a762"
SOURCE_URI="https://github.com/HaikuArchives/BeOhms/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="a2f414d54a94c8f84b2350097d6e48e93777266122272f80614a09b9c8c9f2fc"
SOURCE_FILENAME="BeOhms-$srcGitRev.tar.gz"
SOURCE_DIR="BeOhms-$srcGitRev"
ARCHITECTURES="all"
PROVIDES="
beohms = $portVersion
app:BeOhms = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:ld
cmd:make
"
BUILD()
{
cd src
mkdir -p bin
make $jobArgs TARGET_DIR=bin
}
INSTALL()
{
install -d $appsDir
install -t $appsDir src/bin/BeOhms
addAppDeskbarSymlink $appsDir/BeOhms
}