From 8cbe0c186175a59198e1ca9e0869b0253ff7cd4b Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Tue, 26 Nov 2013 10:38:37 +0000 Subject: [PATCH] Added trackergrep, recipe by GCI2013 student Adrian Jelen --- haiku-apps/trackergrep/trackergrep-5.1.recipe | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 haiku-apps/trackergrep/trackergrep-5.1.recipe diff --git a/haiku-apps/trackergrep/trackergrep-5.1.recipe b/haiku-apps/trackergrep/trackergrep-5.1.recipe new file mode 100644 index 000000000..039b84e3a --- /dev/null +++ b/haiku-apps/trackergrep/trackergrep-5.1.recipe @@ -0,0 +1,41 @@ +DESCRIPTION="Tracker Grep is a simple Tracker add-on that lets you search through text files. Haiku already comes with a tool that lets you do that, grep, but you need to use it from a Terminal window. Gone are those days of command-line trouble, because from now on Tracker Grep lets you run grep directly from the Tracker." + +SUMMARY="Tracker Grep is a simple Tracker add-on that lets you search through text files." +HOMEPAGE="https://github.com/HaikuArchives/TrackerGrep/" +SRC_URI="git+git://github.com/HaikuArchives/TrackerGrep.git" +REVISION="1" + +COPYRIGHT=" + 1998-2006 Matthijs Hollemans + 2007 Jonas Sundström." + +LICENSE="MIT" + +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + TrackerGrep = $portVersion + app:TrackerGrep = $portVersion" + +REQUIRES=" + haiku >= $haikuVersion" + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + cmd:gcc + cmd:xres" + +BUILD() +{ + cd source + g++ -o TrackerGrep GrepApp.cpp GrepWindow.cpp Model.cpp TrackerGrep.cpp Grepper.cpp GrepListView.cpp -lbe -ltracker -ltextencoding + xres -o TrackerGrep TrackerGrep.rsrc +} + +INSTALL() +{ + cd source + mkdir -p $appsDir + cp TrackerGrep $appsDir + addAppDeskbarSymlink $appsDir/TrackerGrep +}