joe: add recipe for version 4.5.

This commit is contained in:
Jerome Duval
2017-10-20 18:57:23 +02:00
parent 8376d4e3a6
commit 72fcafa5bb

View File

@@ -0,0 +1,52 @@
SUMMARY="Terminal-based text editor"
DESCRIPTION="Joe's Own Editor is a full-featured text editor with minimal requirements. \
It is fully customizable (Emacs, pico or WordStar are preset). Is also has multiple \
windows, hexadecimal edit mode for binary files or syntax highlighting for more than 40 languages. \
It also supports mouse for both text and window manipulation."
HOMEPAGE="http://joe-editor.sourceforge.net/"
COPYRIGHT="1992, 2004, 2006, 2015 Joseph H. Allen"
LICENSE="GNU GPL v1"
REVISION="1"
SOURCE_URI="https://downloads.sourceforge.net/project/joe-editor/JOE%20sources/joe-$portVersion/joe-$portVersion.tar.gz"
CHECKSUM_SHA256="51104aa34d8650be3fa49f2204672a517688c9e6ec47e68f1ea85de88e36cadf"
ARCHITECTURES="?x86_gcc2 ?x86 x86_64"
PROVIDES="
joe = $portVersion
cmd:joe = $portVersion
cmd:jmacs
cmd:jpico
cmd:jstar
cmd:rjoe
"
REQUIRES="
haiku
lib:libncurses
"
BUILD_REQUIRES="
haiku_devel
devel:libncurses
"
BUILD_PREREQUIRES="
cmd:gawk
cmd:gcc
cmd:ld
cmd:make
"
GLOBAL_WRITABLE_FILES="
settings/joe directory keep-old
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}