0
0
Fork 0
haikuports/haiku-apps/bdhcalc/bdhcalc-1.1.recipe

46 lines
1.1 KiB
Bash
Raw Permalink Normal View History

SUMMARY="Fully functional 64bit calculator"
DESCRIPTION="BDH Calc is a fully functional 64bit calculator, supporting \
common arithmetic operations like adding, subtracting, dividing and \
multiplying as well as bitwise operators. You can choose the word size and \
whether the sign is considered to simulate any integral data type. Moreover \
the calculator supports binary, decimal and hexadecimal conversion."
2018-05-30 04:59:48 +00:00
HOMEPAGE="https://github.com/HaikuArchives/BDH-Calc"
COPYRIGHT="1999 Scott Hammond"
2015-12-26 10:44:26 +00:00
LICENSE="Zlib"
2018-05-30 04:59:48 +00:00
REVISION="3"
2018-08-17 18:06:25 +00:00
srcGitRev="92df9d48db9e1e684e9d28405e7a05f05e6671aa"
SOURCE_URI="https://github.com/HaikuArchives/BDH-Calc/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="1668d4f0b09dd0e929dfeba2c4413e1f17490ccbbbff2ac83cbcb44617be0343"
2018-09-03 09:03:54 +00:00
SOURCE_DIR="BDH-Calc-$srcGitRev"
2015-12-26 10:44:26 +00:00
ARCHITECTURES="all"
PROVIDES="
bdhcalc = $portVersion
2013-12-04 21:59:27 +00:00
app:bdhcalc = $portVersion
"
REQUIRES="
haiku
"
2015-12-26 10:44:26 +00:00
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
2018-08-09 09:26:07 +00:00
cmd:make
"
BUILD()
{
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
2013-12-04 21:59:27 +00:00
mkdir -p $appsDir
cp -a objects/bdhcalc $appsDir
2013-12-04 21:59:27 +00:00
addAppDeskbarSymlink $appsDir/bdhcalc "BDH Calc"
}