From da7e02e4536afc884d780d3b85372a94957e7212 Mon Sep 17 00:00:00 2001 From: cnelmortimer Date: Fri, 19 Apr 2019 14:34:04 +0200 Subject: [PATCH] RomanNumbers, new-recipe (#3766) * RomanNumbers, new-recipe --- .../romannumbers/romannumbers-1.0~git.recipe | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 haiku-apps/romannumbers/romannumbers-1.0~git.recipe diff --git a/haiku-apps/romannumbers/romannumbers-1.0~git.recipe b/haiku-apps/romannumbers/romannumbers-1.0~git.recipe new file mode 100644 index 000000000..890348622 --- /dev/null +++ b/haiku-apps/romannumbers/romannumbers-1.0~git.recipe @@ -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 +}