Files
haikuports/haiku-apps/binary_clock/binary_clock-2.0.recipe
Chris Roberts 8a30e59744 Overhaul the haiku-apps directory
* Fixed PROVIDES/*REQUIRES entries
* Added vcs hashes to the ports needing it in the SRC_URI
* Made single executable apps install to the top level $appsDir
* Added patches for gcc4 versions of most apps
* Added patches for apps that couldn't build on any arch
   ( even though they were marked as working :( )
* Other misc fixes that I've forgotten already because I'm sick of
  looking at this directory
2013-12-02 20:48:05 -07:00

52 lines
1.1 KiB
Plaintext

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#5d04da1137"
REVISION="2"
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="
cmd:make
cmd:gcc
cmd:ld
"
USER_SETTINGS_FILES="
settings/BinaryClock_2.xx
"
BUILD()
{
cd Application
g++ -o BinaryClock *.cpp -lbe -ltranslation
xres -o BinaryClock BinaryClock.rsrc
mimeset -f BinaryClock
}
INSTALL()
{
mkdir -p $appsDir
cp Application/BinaryClock $appsDir
addAppDeskbarSymlink $appsDir/BinaryClock "Binary Clock"
}