Files
haikuports/haiku-apps/trackergrep/trackergrep-5.1.recipe
2013-11-26 10:39:16 +00:00

42 lines
1.1 KiB
Plaintext

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
}