Files
haikuports/app-misc/tmux/tmux-2.5.recipe
Sergei Reznikov 68ae2ba4d7 tmux: bump version
2017-07-07 16:31:04 +03:00

58 lines
1.3 KiB
Bash

SUMMARY="A terminal multiplexer"
DESCRIPTION="tmux is a \"terminal multiplexer\", it enables a number of \
terminals (or windows) to be accessed and controlled from a single terminal. \
tmux is intended to be a simple, modern, BSD-licensed alternative to programs \
such as GNU screen."
HOMEPAGE="http://tmux.github.io/"
COPYRIGHT="2015 tmux team"
LICENSE="ISC"
SOURCE_URI="https://github.com/tmux/tmux/releases/download/$portVersion/tmux-$portVersion.tar.gz"
CHECKSUM_SHA256="ae135ec37c1bf6b7750a84e3a35e93d91033a806943e034521c8af51b12d95df"
REVISION="1"
PATCHES="tmux-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
tmux$secondaryArchSuffix = $portVersion
cmd:tmux$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libevent_2.1$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libevent_2.1$secondaryArchSuffix
devel:libncurses$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autom4te
cmd:awk
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:sed
"
PATCH()
{
sed -i 's/-lresolv/-lnetwork/g' configure*
}
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}