0
0
Fork 0
haikuports/haiku-apps/coveredcalc/coveredcalc-1.10.0.recipe

49 lines
1.3 KiB
Bash

SUMMARY="A desktop calculator with a skinable interface"
DESCRIPTION="CoveredCalc is a desktop calculator whose look and feel is \
flexibly customizable. It works on Windows, BeOS, and Haiku. In this \
application the word \"cover\" means a set of files for its design, \
instead of the commonly used word \"skin\"."
HOMEPAGE="https://code.google.com/p/coveredcalc"
COPYRIGHT="2008 hiron"
LICENSE="MIT"
REVISION="1"
SOURCE_URI_1="svn+http://coveredcalc.googlecode.com/svn/trunk@72"
SOURCE_URI_2="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/coveredcalc/CoveredCalcBe1.10.0.zip"
CHECKSUM_SHA256_2="f5256c9cdb581c0246292005e9d3275586552bd4630b91e7372bd1903a94b669"
ARCHITECTURES="x86_gcc2 ?x86"
PROVIDES="
coveredcalc = $portVersion
app:CoveredCalc = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
cmd:svn
cmd:xres
"
BUILD()
{
cd Sources/CoveredCalc/CoveredCalcBe
make release $jobArgs
}
INSTALL()
{
mkdir -p $appsDir/CoveredCalc/{NLS,Keymaps}
cp Sources/CoveredCalc/CoveredCalcBe/obj.release/CoveredCalc $appsDir/CoveredCalc
cp LangFiles/BeOS/* $appsDir/CoveredCalc/NLS
cp KeyMappings/BeOS/* $appsDir/CoveredCalc/Keymaps
cp -R ../../sources-2/CoveredCalc/Covers $appsDir/CoveredCalc
addAppDeskbarSymlink $appsDir/CoveredCalc/CoveredCalc
}