RomanNumbers, new-recipe (#3766)

* RomanNumbers, new-recipe
This commit is contained in:
cnelmortimer
2019-04-19 14:34:04 +02:00
committed by Schrijvers Luc
parent 8f55d68889
commit da7e02e453

View File

@@ -0,0 +1,46 @@
SUMMARY="A long range bidirectional roman to decimal numbers converter"
DESCRIPTION="This is a bidirectional roman to decimal numbers converter.   \
The program can convert integers from 1 to 2147483647 with the parentheses\
notation. It has a simple GUI including a challenging exam mode that features\
two difficulty levels.
The program can also be used from the console to convert numbers. To do so,\
just execute the program while also providing the number to be converted as \
its only argument. See the homepage for further information."
HOMEPAGE="https://github.com/cnelmortimer/RomanNumbers"
COPYRIGHT="2019 N.C. Cruz"
LICENSE="MIT"
REVISION="1"
srcGitRev="09df30cf394dbbb33a3bd926a43d666b9fceecc5"
SOURCE_URI="https://github.com/cnelmortimer/RomanNumbers/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="7282aa1f2ca17b5542afb1750da6765d7888e15cd5851e6abdc2cc64bd3b39b2"
SOURCE_DIR="RomanNumbers-$srcGitRev"
ARCHITECTURES="x86_gcc2 x86_64"
PROVIDES="
romannumbers = $portVersion
app:RomanNumbers = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:g++
cmd:make
"
BUILD()
{
make
}
INSTALL()
{
mkdir -p $appsDir
cp -a RomanNumbers $appsDir
addAppDeskbarSymlink $appsDir/RomanNumbers
}