ncurses: update recipe

Build separate devel package.
This commit is contained in:
Ingo Weinhold
2013-06-10 02:31:43 +02:00
parent 9597d783c1
commit 7ab786ee2f

View File

@@ -4,7 +4,7 @@ SRC_URI="http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.9.tar.gz"
CHECKSUM_MD5="8cb9c412e5f2d96bc6f459aa8c6282a1"
LICENSE="MIT"
COPYRIGHT="1998-2011 Free Software Foundation, Inc."
REVISION="6"
REVISION="7"
ARCHITECTURES="x86_gcc2 ?x86"
PROVIDES="
@@ -13,8 +13,6 @@ PROVIDES="
cmd:clear = $portVersion compat >= 5
cmd:infocmp = $portVersion compat >= 5
cmd:infotocap = $portVersion compat >= 5
cmd:ncurses5_config = $portVersion compat >= 5
cmd:ncursesw5_config = $portVersion compat >= 5
cmd:reset = $portVersion compat >= 5
cmd:tabs = $portVersion compat >= 5
cmd:tic = $portVersion compat >= 5
@@ -93,6 +91,13 @@ INSTALL()
# fix ncurses[w]5-config
fixDevelopLibDirReferences $binDir/ncurses5-config $binDir/ncursesw5-config
# devel package
packageEntries devel \
$binDir/ncurses5-config \
$binDir/ncursesw5-config \
$developDir \
$manDir/man3
}
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.
@@ -100,3 +105,25 @@ DESCRIPTION="The Ncurses (new curses) library is a free software emulation of cu
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."
# ----- devel package -------------------------------------------------------
SUMMARY_devel="The ncurses development files"
PROVIDES_devel="
ncurses_devel = $portVersion compat >= 5
cmd:ncurses5_config = $portVersion compat >= 5
cmd:ncursesw5_config = $portVersion compat >= 5
devel:libform = $portVersion compat >= 5
devel:libformw = $portVersion compat >= 5
devel:libmenu = $portVersion compat >= 5
devel:libmenuw = $portVersion compat >= 5
devel:libncurses = $portVersion compat >= 5
devel:libncursesw = $portVersion compat >= 5
devel:libncurses++ = $portVersion compat >= 5
devel:libncurses++w = $portVersion compat >= 5
devel:libpanel = $portVersion compat >= 5
devel:libpanelw = $portVersion compat >= 5
"
REQUIRES_devel="
ncurses == $portVersion base
"