WebWatch: new recipe.

This commit is contained in:
Jerome Duval
2017-02-21 19:36:04 +01:00
parent 569f487690
commit 001901031c

View File

@@ -0,0 +1,55 @@
SUMMARY="A time utility that runs inside the Deskbar"
DESCRIPTION="WebWatch is an unofficial port of Swatch's Internet Time utility \
that runs inside the Deskbar.
Someone at Swatch (you know, the company that makes the watches) came up with \
an idea for a universal time format that eliminates time zones and geographical\
borders. The idea is very simple: time is no longer measured in hours, \
minutes, and seconds, but in \"beats.\" A single day consists of 1000 beats, \
so each beat corresponds to 1 minute and 26.4 seconds.
This \"Internet Time\" is the same all over the world, because it is measured \
relatively to something called the Biel Mean Time (BMT), a new meridian that \
lies in Switzerland. A day in Internet Time begins at midnight BMT, or @000 \
Swatch Beats, 12 noon is equivalent to @500 beats, and so on. So if it's @812 \
at my place, it's also 812 beats at yours and everyone else's."
HOMEPAGE="https://github.com/HaikuArchives/WebWatch"
COPYRIGHT="1999-2003 Matthijs Hollemans"
LICENSE="MIT"
REVISION="1"
commit="6606a42aa9e899a3cf1b537829f1c375dad2a7d5"
SOURCE_URI="https://github.com/HaikuArchives/webwatch/archive/$commit.tar.gz"
CHECKSUM_SHA256="7d45e0853ece4d353a7a4f0a2f2e1f5dfb2b9580ba8dd355c79de50edc140eeb"
SOURCE_DIR="webwatch-$commit"
ARCHITECTURES="x86 x86_gcc2 x86_64"
PROVIDES="
webwatch
app:WebWatch = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:make
cmd:g++
makefile_engine
"
BUILD()
{
cd src
make $jobArgs OBJ_DIR=objects
make bindcatalogs OBJ_DIR=objects
}
INSTALL()
{
cd src
mkdir -p $appsDir
cp objects/WebWatch $appsDir
addAppDeskbarSymlink $appsDir/WebWatch
}