mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 21:30:08 +02:00
* avrdude SUMMARY must have at least 3 words * bebook SUMMARY must have at least 3 words Re-ordered blocks * bzflag SUMMARY must have at least 3 words Re-ordered blocks * c_ares SUMMARY must start with capital letter Re-ordered blocks * cmake SUMMARY must have at least 3 words Re-ordered blocks * command_not_found SUMMARY must have at least 3 words Added BUILD_PREREQUIRES Re-ordered blocks * confuse SUMMARY must start with capital letter Re-ordered blocks * cream SUMMARY must start with capital letter Re-ordered blocks * croscorefonts SUMMARY must have at least 3 words Re-ordered blocks * cssselect SUMMARY must start with capital letter Re-ordered blocks * dcron SUMMARY must start with capital letter Re-ordered blocks * eggchess SUMMARY must have at least 3 words Re-ordered blocks
48 lines
996 B
Bash
48 lines
996 B
Bash
SUMMARY="A tool to find not-installed applications"
|
|
DESCRIPTION="Command-not-found hooks into the command_not_found_handle \
|
|
to inform end users where to find an application if they don't have it. \
|
|
It can also check for typos (a feature of zsh)."
|
|
HOMEPAGE="https://github.com/jrabbit-cnf/"
|
|
COPYRIGHT="2011 Jrabbit"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="git+https://github.com/jrabbit/haiku-cnf.git#87cd5d0c212e377cffa5d3e2a00c143fe751c6fb"
|
|
PATCHES="command_not_found-0.0.1.patchset"
|
|
DISABLE_SOURCE_PACKAGE="yes"
|
|
|
|
ARCHITECTURES="?x86 ?x86_gcc2"
|
|
|
|
PROVIDES="
|
|
command_not_found = $portVersion
|
|
cmd:command_not_found = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
cmd:python
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:python
|
|
"
|
|
|
|
POST_INSTALL_SCRIPTS="
|
|
boot/post-install/install_cnf.py
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
true
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $binDir
|
|
install -m 0755 haiku_cnf.py $binDir/command_not_found
|
|
|
|
mkdir -p $postInstallDir
|
|
mv install_cnf.py $postInstallDir
|
|
}
|