mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Added binary_clock, recipe, work by GCI2013 student Adrián Arroyo Calle
This commit is contained in:
51
haiku-apps/binary_clock/binary_clock-2.0.recipe
Normal file
51
haiku-apps/binary_clock/binary_clock-2.0.recipe
Normal file
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user