diff --git a/haiku-apps/binary_clock/binary_clock-2.0.recipe b/haiku-apps/binary_clock/binary_clock-2.0.recipe new file mode 100644 index 000000000..44060dfbd --- /dev/null +++ b/haiku-apps/binary_clock/binary_clock-2.0.recipe @@ -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" +}