nano: add recipe for version 2.9.0.

This commit is contained in:
Jerome Duval
2017-11-20 20:44:01 +01:00
parent edd0ad0260
commit cd12d67dcd

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.9/nano-$portVersion.tar.gz"
CHECKSUM_SHA256="220cdf0b29b3d2bcba66e7aaa5b27ed1f2bf53c44192d8e0e0328624da3dbebf"
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
}