0
0
Fork 0
haikuports/haiku-apps/binaryclock/binaryclock-20141223.recipe

87 lines
1.6 KiB
Bash
Raw Permalink Normal View History

SUMMARY="A binary clock application and screensaver"
DESCRIPTION="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.
How to read the Binary Clock:
Each column stands for a digit in a 24 hour clock with the format: hh : mm : ss
Each column is configured like this:
8
4
2
1
so if you wanted "2", you would see: (O being off, X being on)
O
O
X
O
5 would be:
O
X
O
X
so 8:57:12pm would be 20:57:12 which would look like:
OO OO OO
OO XX OO
XO OX OX
OO XX XO
Good Luck!"
2018-05-30 07:11:57 +00:00
HOMEPAGE="https://github.com/HaikuArchives/BinaryClock"
COPYRIGHT="2000 David Enderson"
LICENSE="GNU GPL v2"
2018-05-30 07:11:57 +00:00
REVISION="4"
srcGitRev="bfefbf7f93e7a07c841fdb1162e119b0364fee85"
SOURCE_URI="https://github.com/HaikuArchives/BinaryClock/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="a9e6c772b7e801d8a75a0dced08d99d04e55355d0b33c47653725ac13de99e5e"
SOURCE_DIR="BinaryClock-$srcGitRev"
ARCHITECTURES="!all x86_gcc2"
2018-08-07 06:26:26 +00:00
USER_SETTINGS_FILES="
settings/BinaryClock
"
PROVIDES="
2014-12-23 18:04:04 +00:00
binaryclock = $portVersion
add_on:BinaryClock = $portVersion
2018-08-09 09:26:07 +00:00
app:BinaryClock = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
2014-12-23 18:04:04 +00:00
makefile_engine
cmd:g++
cmd:ld
2018-08-09 09:26:07 +00:00
cmd:make
"
BUILD()
{
cd Application
2014-12-23 18:04:04 +00:00
make $jobArgs OBJ_DIR=objects
cd ../Screensaver
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
2014-12-23 18:04:04 +00:00
mkdir -p $appsDir
mkdir -p $addOnsDir/Screen\ Savers/
cp Application/objects/BinaryClock $appsDir
addAppDeskbarSymlink $appsDir/BinaryClock "Binary Clock"
2014-12-23 18:04:04 +00:00
cp Screensaver/objects/BinaryClock $addOnsDir/Screen\ Savers
}