mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
beohms: added recipe (GCI 2016) (#1030)
Added recipe for BeOhms Ohm's Law calculator.
This commit is contained in:
47
haiku-apps/beohms/beohms-0.1~git.recipe
Normal file
47
haiku-apps/beohms/beohms-0.1~git.recipe
Normal file
@@ -0,0 +1,47 @@
|
||||
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="1"
|
||||
commit="dfdb28d7282aba7d7d616460e85692e68e27a762"
|
||||
SOURCE_URI="https://github.com/HaikuArchives/BeOhms/archive/$commit.tar.gz"
|
||||
CHECKSUM_SHA256="a2f414d54a94c8f84b2350097d6e48e93777266122272f80614a09b9c8c9f2fc"
|
||||
SOURCE_FILENAME="BeOhms-$commit.tar.gz"
|
||||
SOURCE_DIR="BeOhms-$commit"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user