Files
haikuports/sys-apps/most/most-pre5.1_15.recipe
2019-05-24 16:14:07 -04:00

58 lines
1.1 KiB
Bash

SUMMARY="A paging program similar to 'more' and 'less'"
DESCRIPTION="'Most' is a powerful paging program for Unix, VMS, MSDOS, and win32 systems. \
Unlike other well-known paging programs 'most' supports multiple windows and can \
scroll left and right. Why settle for less?"
HOMEPAGE="http://www.jedsoft.org/most/"
COPYRIGHT="2004-2013 John E. Davis"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="http://www.jedsoft.org/snapshots/most-pre5.1-15.tar.gz"
CHECKSUM_SHA256="b1b3078d855c810e8b697e4c35054e84d9c738ee960c1cc33429b246c28e1024"
SOURCE_DIR="most-pre5.1-15"
PATCHES="most-pre5.1_15.patchset"
ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
most = $portVersion compat >= 5
cmd:most = $portVersion compat >= 5
"
REQUIRES="
haiku
lib:libncurses
lib:libslang
"
BUILD_REQUIRES="
haiku_devel
devel:libncurses
devel:libslang
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:find
cmd:gcc
cmd:ld
cmd:make
cmd:ncurses5_config
"
PATCH()
{
sed -i "s,-lm,," src/Makefile.in
}
BUILD()
{
runConfigure ./configure \
--with-slanglib=$libDir \
--with-slanginc=$includeDir
make
}
INSTALL()
{
make install
}