mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
71 lines
1.6 KiB
Bash
71 lines
1.6 KiB
Bash
SUMMARY="Remote terminal that supports intermittent connectivity"
|
|
DESCRIPTION="Remote terminal application that allows roaming, supports \
|
|
intermittent connectivity, and provides intelligent local echo and line \
|
|
editing of user keystrokes.
|
|
|
|
Mosh is a replacement for SSH. It's more robust and responsive, especially \
|
|
over Wi-Fi, cellular, and long-distance links.
|
|
|
|
Mosh is free software, available for GNU/Linux, FreeBSD, Solaris, Mac OS X, \
|
|
and Android."
|
|
HOMEPAGE="https://mosh.org/"
|
|
COPYRIGHT="2012-2017 Keith Winstein"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="6"
|
|
SOURCE_URI="https://mosh.org/mosh-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="da600573dfa827d88ce114e0fed30210689381bbdcff543c931e4d6a2e851216"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
mosh$secondaryArchSuffix = $portVersion
|
|
cmd:mosh
|
|
cmd:mosh_client
|
|
cmd:mosh_server
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libcrypto$secondaryArchSuffix
|
|
lib:libncursesw$secondaryArchSuffix
|
|
lib:libprotobuf$secondaryArchSuffix
|
|
lib:libssl$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libncurses$secondaryArchSuffix
|
|
devel:libprotoc$secondaryArchSuffix
|
|
devel:libssl$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:awk
|
|
cmd:find
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
export CFLAGS=-D_BSD_SOURCE
|
|
export CXXFLAGS=-D_BSD_SOURCE
|
|
./autogen.sh
|
|
runConfigure ./configure --bindir=$prefix/bin --disable-hardening
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|