Files
haikuports/haiku-apps/bdhcalc/bdhcalc-1.1.recipe
2014-12-14 18:28:38 +01:00

48 lines
1.1 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://github.com/ThomasCompix/BDH-Calc"
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"
}