nano: add recipe for version 2.8.6.

This commit is contained in:
Jerome Duval
2017-07-25 17:26:08 +02:00
parent a87ee20422
commit b1b4b46b7c

View File

@@ -0,0 +1,56 @@
SUMMARY="Pico clone with more functionality under the GPL license"
DESCRIPTION="nano is a simple text editor for Unix-like computing systems \
or operating environments using a command line interface. It emulates the \
Pico text editor, part of the Pine email client, and also provides additional \
functionality. Features include:
- Customizable key bindings
- 'soft' line wrapping
- Full undo/redo support
- Pager support (reading from stdin)
- Warnings for un-writable files
- More syntax highlighting samples (Fortran, objC, OCaml, Makefiles)"
HOMEPAGE="http://www.nano-editor.org/"
COPYRIGHT="1999-2017 Free Software Foundation, Inc."
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="http://www.nano-editor.org/dist/v2.8/nano-$portVersion.tar.gz"
CHECKSUM_SHA256="3725aa145880223b2c4d0b3fa08220e1633f2d341917f49d028e067fc12cce49"
ARCHITECTURES="?x86_gcc2 ?x86 x86_64"
PROVIDES="
nano = $portVersion compat >= 2
cmd:nano = $portVersion compat >= 2
cmd:rnano = $portVersion compat >= 2
"
REQUIRES="
haiku
cmd:groff
lib:libncurses
"
BUILD_REQUIRES="
haiku_devel
devel:libncurses
"
BUILD_PREREQUIRES="
cmd:autoreconf
cmd:gcc
cmd:groff
cmd:ld
cmd:libtoolize
cmd:make
cmd:pkg_config
"
BUILD()
{
autoreconf
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}