Files
haikuports/app-misc/mdate/mdate-1.7.0.3.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

44 lines
967 B
Bash

SUMMARY="A converter to Mayan dates"
DESCRIPTION="Mdate is a utility that converts Gregorian dates to Mayan Long Count dates. \
It was originally an implementation of some algorithms published by N. Dershowitz and \
E.M. Reingold in their book Calendrical Calculations."
HOMEPAGE="https://github.com/ewe2/mdate"
COPYRIGHT="2010-2014 Sean Dwyer"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://github.com/ewe2/mdate/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="6d58a8cf63c25b2b4b5b8904ba7c982f18608e8fa65436c555280699a020bcf8"
PATCHES="mdate-$portVersion.patchset"
ARCHITECTURES="all"
PROVIDES="
mdate = $portVersion
cmd:mdate = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:ld
cmd:make
"
BUILD()
{
make
}
INSTALL()
{
make installbin BINDIR=$binDir
install -d $docDir $manDir/man1
install -t $docDir AUTHORS doc/mdate.html doc/mdate.pdf doc/mdate.txt
install -t $manDir/man1 doc/mdate.1
}