mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
bash_completion: fix the recipe and add support for pkgman and finddir
This commit is contained in:
@@ -11,12 +11,14 @@ 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/"
|
||||
COPYRIGHT="2006-2014 Debian Project"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="2"
|
||||
SOURCE_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"
|
||||
PATCHES="bash_completion-haiku.patch"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
@@ -30,8 +32,11 @@ BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku
|
||||
cmd:bash
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:awk
|
||||
cmd:bash
|
||||
cmd:make
|
||||
"
|
||||
|
||||
@@ -42,17 +47,10 @@ USER_SETTINGS_FILES="
|
||||
settings/profile.d/bash_completion.sh
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
cd completions
|
||||
for file in *
|
||||
do
|
||||
chmod +x $file
|
||||
done
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
aclocal
|
||||
automake
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
@@ -60,6 +58,4 @@ BUILD()
|
||||
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