mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Convert ncurses 5.9 recipe to an actual recipe
This commit is contained in:
@@ -1,16 +1,50 @@
|
||||
DESCRIPTION="ncurses"
|
||||
SUMMARY="New curses library"
|
||||
HOMEPAGE="http://www.gnu.org/software/ncurses/ncurses.html"
|
||||
SRC_URI="http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz"
|
||||
CHECKSUM_MD5="8cb9c412e5f2d96bc6f459aa8c6282a1"
|
||||
REVISION="2"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="1998-2011 Free Software Foundation, Inc."
|
||||
REVISION="3"
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="
|
||||
ncurses = $portVersion compat >= 5
|
||||
cmd:captoinfo = $portVersion compat >= 5
|
||||
cmd:clear = $portVersion compat >= 5
|
||||
cmd:infocmp = $portVersion compat >= 5
|
||||
cmd:infotocap = $portVersion compat >= 5
|
||||
cmd:ncurses5_config = $portVersion compat >= 5
|
||||
cmd:reset = $portVersion compat >= 5
|
||||
cmd:tabs = $portVersion compat >= 5
|
||||
cmd:tic = $portVersion compat >= 5
|
||||
cmd:toe = $portVersion compat >= 5
|
||||
cmd:tput = $portVersion compat >= 5
|
||||
cmd:tset = $portVersion compat >= 5
|
||||
lib:libform = $portVersion compat >= 5
|
||||
lib:libmenu = $portVersion compat >= 5
|
||||
lib:libncurses++ = $portVersion compat >= 5
|
||||
lib:libncurses = $portVersion compat >= 5
|
||||
lib:libpanel = $portVersion compat >= 5
|
||||
"
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
cmd:gcc
|
||||
cmd:grep
|
||||
cmd:ld
|
||||
cmd:libtool
|
||||
cmd:make
|
||||
cmd:sed
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
"
|
||||
SOURCE_DIR="$portVersionedName"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd ncurses-5.9
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--datadir=`finddir B_COMMON_DATA_DIRECTORY` \
|
||||
--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \
|
||||
runConfigure --omit-dirs "dataRootDir docDir" ./configure \
|
||||
--with-libtool \
|
||||
--enable-termcap
|
||||
make
|
||||
@@ -18,9 +52,15 @@ BUILD()
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd ncurses-5.9
|
||||
./misc/shlib make install DESTDIR="${DESTDIR}"
|
||||
./misc/shlib make install
|
||||
|
||||
# prepare develop/lib
|
||||
prepareInstalledDevelLibs libform libmenu libncurses libncurses++ libpanel
|
||||
}
|
||||
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="1998-2011 Free Software Foundation, Inc."
|
||||
|
||||
DESCRIPTION="The Ncurses (new curses) library is a free software emulation of curses in System V Release 4.0, and more. It uses Terminfo format, supports pads and color and multiple highlights and forms characters and function-key mapping, and has all the other SYSV-curses enhancements over BSD Curses.
|
||||
|
||||
The ncurses code was developed under GNU/Linux. It has been in use for some time with OpenBSD as the system curses library, and on FreeBSD and NetBSD as an external package. It should port easily to any ANSI/POSIX-conforming UNIX. It has even been ported to OS/2 Warp!
|
||||
|
||||
The distribution includes the library and support utilities, including a terminfo compiler tic, a decompiler infocmp, clear, tput, tset, and a termcap conversion tool captoinfo. Full manual pages are provided for the library and tools."
|
||||
|
||||
Reference in New Issue
Block a user