mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
57 lines
1.1 KiB
Bash
57 lines
1.1 KiB
Bash
SUMMARY="Fuzzy text selector (interactive grep) for console"
|
|
DESCRIPTION="fzy is a fast, simple fuzzy text selector for the terminal with an advanced scoring \
|
|
algorithm."
|
|
HOMEPAGE="https://github.com/jhawthorn/fzy"
|
|
COPYRIGHT="2014 John Hawthorn"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
srcGitRev="9aa19d3250070f0cc9f5601b805ee6ce3d654377"
|
|
SOURCE_URI="https://github.com/jhawthorn/fzy/archive/$srcGitRev.tar.gz"
|
|
SOURCE_DIR="fzy-$srcGitRev"
|
|
CHECKSUM_SHA256="85aba9528c6f1ac954e7ba8c561f5daa9a4de11ef92cfa8e86f291ce822cbff7"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
commandSuffix=$secondaryArchSuffix
|
|
commandBinDir=$binDir
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
commandSuffix=
|
|
commandBinDir=$prefix/bin
|
|
fi
|
|
|
|
PROVIDES="
|
|
fzy$secondaryArchSuffix = $portVersion
|
|
cmd:fzy$commandSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $commandBinDir
|
|
cp -af fzy $commandBinDir
|
|
|
|
mkdir -p $manDir/man1
|
|
cp -af fzy.1 $manDir/man1
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|