Files
haikuports/haiku-apps/romannumbers/romannumbers-1.0~git.recipe
waddlesplash 4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has,
is transformed into "all", and then the other entries in ARCHITECTURES
either dropped or rearranged appropriately.
2021-09-15 15:40:18 -04:00

47 lines
1.2 KiB
Bash

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="2"
srcGitRev="8c51b3f2e1297eef5bde46a7b6e38d1fd8981559"
SOURCE_URI="https://github.com/cnelmortimer/RomanNumbers/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="a7c4d4509482d80be0d4ba27768b0fb574457e441b4419313bd76f35187ac5c3"
SOURCE_DIR="RomanNumbers-$srcGitRev"
ARCHITECTURES="all"
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
}