Files
haikuports/haiku-apps/bdhcalc/bdhcalc-1.1.recipe
2013-12-05 16:39:38 +00:00

49 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="MIT"
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
cmd:make
"
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 bdhcalc Ressources/bdh.rsrc
mimeset -f bdhcalc
}
INSTALL()
{
mkdir -p $appsDir
mv bdhcalc $appsDir/bdhcalc
addAppDeskbarSymlink $appsDir/bdhcalc "BDH Calc"
}