Files
haikuports/haiku-apps/weather/weather-0.1.1_git.recipe
2017-10-08 14:53:48 +02:00

50 lines
1.1 KiB
Bash

SUMMARY="A simple weather application"
DESCRIPTION="This simple weather app was a project for the Google Code-In \
2014/2015.
After supplying a location it will gather data over the internet to display \
a constantly updated forecast for the next days as icons (sunshine, clouds, \
rain, etc.). As a Replicant, the app can be neatly integrated into the \
Desktop."
HOMEPAGE="https://github.com/HaikuArchives/Weather"
COPYRIGHT="2014 George White
2015 Przemysław Buczkowski
2015 Janus"
LICENSE="MIT"
REVISION="7"
srcGitRev="26d694ceaebf993c775448c89640ad0fb9718d1e"
SOURCE_URI="https://github.com/HaikuArchives/Weather/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="afeaa28690e19177015f77c1426ffc1d936880a2ce37c3f34ae0f333ad3dc858"
SOURCE_DIR="Weather-$srcGitRev"
ARCHITECTURES="x86 x86_gcc2 x86_64"
PROVIDES="
weather
app:Weather = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:make
"
BUILD()
{
make $jobArgs OBJ_DIR=objects
make bindcatalogs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir
cp objects/Weather $appsDir
addAppDeskbarSymlink $appsDir/Weather
}