binaryclock: Update to latest version

This commit is contained in:
Josef Gajdusek
2014-12-23 19:04:04 +01:00
parent ffdb78ace5
commit 2a840bccd7

View File

@@ -0,0 +1,57 @@
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.
"
HOMEPAGE="http://github.com/HaikuArchives/BinaryClock"
SRC_URI="git://github.com/HaikuArchives/BinaryClock#bfefbf7f93e7a07c841fdb1162e119b0364fee85"
REVISION="2"
LICENSE="GNU GPL v2"
COPYRIGHT="2000 David Enderson"
ARCHITECTURES="x86_gcc2 !x86 !x86_64"
PROVIDES="
binaryclock = $portVersion
app:BinaryClock = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:make
cmd:gcc
cmd:ld
"
USER_SETTINGS_FILES="
settings/BinaryClock
"
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
}