Added binary_clock, recipe, work by GCI2013 student Adrián Arroyo Calle

This commit is contained in:
Scott McCreary
2013-11-29 03:41:02 +00:00
parent 7de6be4b0e
commit 30b135c7ca

View File

@@ -0,0 +1,51 @@
SUMMARY="A binary clock application and screensaver"
DESCRIPTION="What Is This:
A Binary Clock. And yes, you really can use this to tell time! I have found it quite enjoyable to reprogram my brain to learn to read it at a glance. It just takes a little getting used to. Detailed directions on how to read it are included at the end of this file."
HOMEPAGE="http://github.com/HaikuArchives/BinaryClock"
SRC_URI="git://github.com/HaikuArchives/BinaryClock"
REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="2000 David Enderson"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
app:binary_clock = $portVersion
binary_clock = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:make
cmd:gcc
cmd:ld
"
USER_SETTINGS_FILES="
settings/BinaryClock_2.xx "directory"
"
SOURCE_DIR="BinaryClock-master"
BUILD()
{
cd Application
g++ -o BinaryClock *.cpp -lbe -ltranslation
xres -o BinaryClock BinaryClock.rsrc
}
INSTALL()
{
mkdir -p $appsDir
cd Application
cp BinaryClock $appsDir
addAppDeskbarSymlink $appsDir/BinaryClock "Binary Clock"
}