mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
60 lines
1.6 KiB
Bash
60 lines
1.6 KiB
Bash
SUMMARY="Find files by name AND location, unlike Haiku's Find"
|
|
DESCRIPTION="TraX is not a \"query\" tool. It does not keep a database of files and attributes. \
|
|
It is a traditional find tool, which searches the disk every time, looking for files that meet \
|
|
your criteria. The find-criteria are not Haiku specific, and it does not (currently) search \
|
|
attributes.
|
|
|
|
TraX comes in two varieties.
|
|
|
|
* FastTraX is similar to the Windows find tool. Windows users should find its features very \
|
|
familiar.
|
|
* TraX is a cross between the UNIX \"find\" command the the MacOS \"Find Files\" tool. It has \
|
|
much of the power of \"find\" with a Mac-like interface (a Mac on steroids that is)."
|
|
HOMEPAGE="https://github.com/HaikuArchives/TraX/"
|
|
COPYRIGHT="1999-2000, Tim Vernum"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
srcGitRev="ed09bd45e6cd9faa365c8c1f542f1636aa19cd63"
|
|
SOURCE_URI="https://github.com/HaikuArchives/TraX/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="8a4261a787fa861ee40b78448e73e00e50800d2b660945c813a14ca5df31c8b4"
|
|
SOURCE_DIR="TraX-$srcGitRev"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
trax = $portVersion
|
|
app:FastTraX = $portVersion
|
|
app:TraX = $portVersion
|
|
lib:libfind
|
|
lib:libTraX
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
# make install doesn't really do anything, it is done by the default target already
|
|
# but keep it here if this is fixed later.
|
|
make install
|
|
|
|
mkdir -p $appsDir $libDir
|
|
cp -a bin/FastTraX bin/TraX $appsDir
|
|
cp -a bin/lib/*.so $libDir
|
|
addAppDeskbarSymlink $appsDir/FastTraX
|
|
addAppDeskbarSymlink $appsDir/TraX
|
|
}
|