mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Create recipe for bash_completion v2.1.
It doesn't work, I don't know why. Someone with more bash-fu than me should take a look at it.
This commit is contained in:
65
app-shells/bash_completion/bash_completion-2.1.recipe
Normal file
65
app-shells/bash_completion/bash_completion-2.1.recipe
Normal file
@@ -0,0 +1,65 @@
|
||||
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="http://bash-completion.alioth.debian.org/"
|
||||
SRC_URI="http://bash-completion.alioth.debian.org/files/bash-completion-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="2b606804a7d5f823380a882e0f7b6c8a37b0e768e72c3d4107c51fbe8a46ae4f"
|
||||
SOURCE_DIR="bash-completion-$portVersion"
|
||||
REVISION="1"
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2006-2014 Debian Project"
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
bash_completion = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
cmd:bash
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
cmd:bash
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku
|
||||
cmd:bash
|
||||
cmd:awk
|
||||
cmd:make
|
||||
"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/profile.d/bash_completion.sh auto-merge
|
||||
"
|
||||
USER_SETTINGS_FILES="
|
||||
settings/profile.d/bash_completion.sh
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
cd completions
|
||||
for file in *
|
||||
do
|
||||
chmod +x $file
|
||||
done
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
chmod +x $settingsDir/profile.d/bash_completion.sh
|
||||
chmod +x $dataDir/bash-completion/bash_completion
|
||||
}
|
||||
Reference in New Issue
Block a user