mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-30 03:58:51 +02:00
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
SUMMARY="Fully functunal 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.
|
|
"
|
|
HOMEPAGE="http://haikuware.com/directory/view-details/science-math/calculators/bdh-calc-for-haiku"
|
|
SRC_URI="git://github.com/ThomasCompix/BDH-Calc.git#4a6865932ae0e95244ed0149b6e8c4f437ea742a"
|
|
REVISION="1"
|
|
LICENSE="Undetermined"
|
|
COPYRIGHT="1999 Scott Hammond"
|
|
|
|
ARCHITECTURES="x86 x86_gcc2 !ppc"
|
|
|
|
PROVIDES="
|
|
bdhcalc = $portVersion
|
|
app:bdhcalc = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku >= $haikuVersion
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel >= $haikuVersion
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
g++ -c src/bdh_main.cpp -o bdh_main.o
|
|
g++ -c src/bdh_view.cpp -o bdh_view.o
|
|
g++ -lbe bdh_main.o bdh_view.o -o bdhcalc
|
|
xres -o bdhcalc Ressources/bdh.rsrc
|
|
mimeset -f bdhcalc
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
mv bdhcalc $appsDir/bdhcalc
|
|
addAppDeskbarSymlink $appsDir/bdhcalc "BDH Calc"
|
|
}
|