0
0
Fork 0
haikuports/app-shells/bash_completion/bash_completion-2.11.recipe

66 lines
1.7 KiB
Bash

SUMMARY="Tab-completion for the Bash shell"
DESCRIPTION="Since v2.04, bash has allowed you to intelligently program \
and extend its standard completion behavior to achieve complex command \
lines with just a few keystrokes. Imagine typing ssh [Tab] and being \
able to complete on hosts from your ~/.ssh/known_hosts files. Or typing \
man 3 str [Tab] and getting a list of all string handling functions in \
the UNIX manual. mount system: [Tab] would complete on all exported \
file-systems from the host called system, while make [Tab] would complete \
on all targets in Makefile. This project was conceived to produce \
programmable completion routines for the most common Linux/UNIX commands, \
reducing the amount of typing sysadmins and programmers need to do on \
a daily basis."
HOMEPAGE="https://github.com/scop/bash-completion"
COPYRIGHT="2006-2020 Debian Project"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://github.com/scop/bash-completion/releases/download/$portVersion/bash-completion-$portVersion.tar.xz"
CHECKSUM_SHA256="73a8894bad94dee83ab468fa09f628daffd567e8bef1a24277f1e9a0daf911ac"
SOURCE_DIR="bash-completion-$portVersion"
PATCHES="bash_completion-$portVersion.patchset"
ARCHITECTURES="any"
PROVIDES="
bash_completion = $portVersion
"
REQUIRES="
cmd:bash
"
BUILD_REQUIRES="
cmd:bash
"
BUILD_PREREQUIRES="
haiku
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:awk
cmd:bash
cmd:make
"
GLOBAL_WRITABLE_FILES="
settings/profile.d/bash_completion.sh auto-merge
"
USER_SETTINGS_FILES="
settings/profile.d/bash_completion.sh
"
BUILD()
{
autoreconf -i
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}
#TEST()
#{
# make check
#}