mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
50 lines
1.1 KiB
Bash
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-2018 Janus"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
srcGitRev="26d694ceaebf993c775448c89640ad0fb9718d1e"
|
|
SOURCE_URI="https://github.com/HaikuArchives/Weather/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="9ae34bbfd391c624ade107d18ff0c8849be21412d1cb4c82f3b132852e2ed2fc"
|
|
SOURCE_DIR="Weather-$portVersion"
|
|
|
|
ARCHITECTURES="?all"
|
|
|
|
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
|
|
}
|