mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
HSTR: bump version (#3284)
This commit is contained in:
75
app-shells/hstr/hstr-2.0.recipe
Normal file
75
app-shells/hstr/hstr-2.0.recipe
Normal file
@@ -0,0 +1,75 @@
|
||||
SUMMARY="Shell history suggest box"
|
||||
DESCRIPTION="Easily view, navigate, search and use your command history with \
|
||||
shell history suggest box for Bash and ZSH."
|
||||
HOMEPAGE="http://me.mindforger.com/projects/hh.html"
|
||||
COPYRIGHT="2014-2018 Martin Dvorak"
|
||||
LICENSE="Apache v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/dvorka/hstr/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="8d93ed8bfee1a979e8d06646e162b70316e2097e16243636d81011ba1000627a"
|
||||
PATCHES="hstr-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
# On x86_gcc2 we don't want to install the commands in bin/<arch>/, but in bin/.
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
commandBinDir=$binDir
|
||||
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
PROVIDES="
|
||||
hstr$secondaryArchSuffix = $portVersion
|
||||
cmd:hh$commandSuffix = $portVersion
|
||||
cmd:hstr$commandSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libncursesw$secondaryArchSuffix
|
||||
lib:libreadline$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libncursesw$secondaryArchSuffix
|
||||
devel:libreadline$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
defineDebugInfoPackage hstr$secondaryArchSuffix \
|
||||
"$commandBinDir"/hh
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
aclocal -I m4
|
||||
autoconf
|
||||
automake --add-missing --force-missing
|
||||
|
||||
runConfigure --omit-dirs "binDir sbinDir" ./configure \
|
||||
--bindir="$commandBinDir" \
|
||||
--sbindir="$commandBinDir"
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user