Files
haikuports/haiku-apps/beohms/beohms-0.1~git.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

48 lines
986 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"
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
}