87 lines
1.6 KiB
Bash
87 lines
1.6 KiB
Bash
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!"
|
|
HOMEPAGE="https://github.com/HaikuArchives/BinaryClock"
|
|
COPYRIGHT="2000 David Enderson"
|
|
LICENSE="GNU GPL v2"
|
|
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"
|
|
|
|
USER_SETTINGS_FILES="
|
|
settings/BinaryClock
|
|
"
|
|
|
|
PROVIDES="
|
|
binaryclock = $portVersion
|
|
add_on:BinaryClock = $portVersion
|
|
app:BinaryClock = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:g++
|
|
cmd:ld
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd Application
|
|
make $jobArgs OBJ_DIR=objects
|
|
|
|
cd ../Screensaver
|
|
make $jobArgs OBJ_DIR=objects
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
mkdir -p $addOnsDir/Screen\ Savers/
|
|
|
|
cp Application/objects/BinaryClock $appsDir
|
|
addAppDeskbarSymlink $appsDir/BinaryClock "Binary Clock"
|
|
|
|
cp Screensaver/objects/BinaryClock $addOnsDir/Screen\ Savers
|
|
}
|