From 46e6287580088db6941077e851af09cc5aeaf368 Mon Sep 17 00:00:00 2001 From: Jim Date: Thu, 15 Jan 2015 12:58:25 -0800 Subject: [PATCH] cal recipe --- app-misc/cal/cal-1.0.0.recipe | 43 +++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 app-misc/cal/cal-1.0.0.recipe diff --git a/app-misc/cal/cal-1.0.0.recipe b/app-misc/cal/cal-1.0.0.recipe new file mode 100644 index 000000000..0deafd62c --- /dev/null +++ b/app-misc/cal/cal-1.0.0.recipe @@ -0,0 +1,43 @@ +SUMMARY="Program for calculating and printing calendars" +DESCRIPTION=" +Cal is a command line tool for printing a calendar in a Terminal. This is the version that was originally included in Haiku. Cal was replaced by gcal as it is better with some fonts and language locals. Cal is presented here for those who need the old version for script compatability. +" +HOMEPAGE="" +SRC_URI="https://github.com/bbjimmy/cal/archive/v1.0.tar.gz" +CHECKSUM_SHA256="b22faa43afca781939811cfd99b99c1e7a8df5c0896040a0d69bc7b38546fd88" +SOURCE_DIR="cal-1.0" +LICENSE="BSD (4-clause)" +REVISION="1" +COPYRIGHT="1989, 1993, 1994 The Regents of the University of California." + +ARCHITECTURES="x86_gcc2 x86 x86_64" + +PROVIDES=" + cal = $portVersion + cmd:cal + " + +REQUIRES=" + haiku + " + +BUILD_PREREQUIRES=" + cmd:gcc + " + +BUILD_REQUIRES=" + haiku_devel + " + +BUILD() +{ + gcc cal.c +} + +INSTALL() +{ + mkdir -p $binDir + cp cal $binDir/cal +} + +