From b4df4119c2e7f0c1982b3a00ccdc6886504399cc Mon Sep 17 00:00:00 2001 From: bach5000 Date: Thu, 7 Dec 2017 16:08:50 +0000 Subject: [PATCH] Create maps-1.0.recipe (#1862) --- haiku-apps/maps/maps-1.0.recipe | 43 +++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 haiku-apps/maps/maps-1.0.recipe diff --git a/haiku-apps/maps/maps-1.0.recipe b/haiku-apps/maps/maps-1.0.recipe new file mode 100644 index 000000000..e74c91330 --- /dev/null +++ b/haiku-apps/maps/maps-1.0.recipe @@ -0,0 +1,43 @@ +SUMMARY="A map application" +DESCRIPTION="\"Maps\" is a minimalistic map viewer app that is simple \ +and easy to use. Search for places by typing the name or the coordinates \ +of the place in the search box and get results by pressing enter. Zoom in \ +and out by scrolling your mouse. Drag with your mouse to move around." +HOMEPAGE="https://github.com/raefaldhia/Maps" +COPYRIGHT="2016-2017 Raefaldhi Amartya Junior" +LICENSE="MIT" +REVISION="1" +gitSrcRevision="fae2e64aca6ad00e2827556f8ddaf24adec891b8" +SOURCE_URI="https://github.com/raefaldhia/Maps/archive/$gitSrcRevision.tar.gz" +CHECKSUM_SHA256="bec05e952fec0af76d21ad1a1ab04905ab5d8f04037c6fbd20a49dfa1e811684" +SOURCE_DIR="Maps-$gitSrcRevision" +ARCHITECTURES="x86_gcc2 x86_64" + +PROVIDES=" + maps = $portVersion + app:Maps = $portVersion + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:g++ + cmd:make + " + +BUILD() +{ + make OBJ_DIR=objects +} + +INSTALL() +{ + mkdir -p $appsDir + cp objects/Maps $appsDir + addAppDeskbarSymlink $appsDir/Maps +}