summaryrefslogtreecommitdiff
path: root/packages/ncurses/ncurses_5.4.bb
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-01-22 02:40:12 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-01-22 02:40:12 +0000
commit0b88a5b8260b308cf5c832cb82b9818426f2a478 (patch)
treef86e3009291c2f1ae4e70e60932383dff6f49524 /packages/ncurses/ncurses_5.4.bb
parent43a0bb6a6f83642fb31a9cb27d6ece5f79452c9d (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/01/21 20:56:14-05:00 handhelds.org!kergoth Add sed 4.1.2. 2005/01/21 20:53:36-05:00 handhelds.org!kergoth ncurses: Create libtermcap symlinks, consolidate metadata into a .inc. 2005/01/21 20:48:18-05:00 handhelds.org!kergoth Merge oe-devel@oe-devel.bkbits.net:openembedded into handhelds.org:/home/kergoth/code/openembedded 2005/01/21 20:48:08-05:00 handhelds.org!kergoth Add zile, a very small emacs-like editor. BKrev: 41f1bd0c7KKgxL0NpckmwXVKlGyleg
Diffstat (limited to 'packages/ncurses/ncurses_5.4.bb')
-rw-r--r--packages/ncurses/ncurses_5.4.bb72
1 files changed, 2 insertions, 70 deletions
diff --git a/packages/ncurses/ncurses_5.4.bb b/packages/ncurses/ncurses_5.4.bb
index dbad531540..963ea46dc6 100644
--- a/packages/ncurses/ncurses_5.4.bb
+++ b/packages/ncurses/ncurses_5.4.bb
@@ -1,75 +1,7 @@
-DESCRIPTION = "Ncurses library"
-HOMEPAGE = "http://www.gnu.org/software/ncurses/ncurses.html"
-LICENSE = "MIT"
-SECTION = "libs"
-DEPENDS = "ncurses-native"
-PACKAGES_prepend = "ncurses-tools "
-PACKAGES_append = " ncurses-terminfo"
-FILES_ncurses_append = " ${datadir}/tabset"
-RSUGGESTS_${PN} = "ncurses-terminfo"
-PR = "r5"
+PR = "r6"
SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz \
file://visibility.patch;patch=1"
S = "${WORKDIR}/ncurses-${PV}"
-inherit autotools
-
-# This keeps only tput/tset in ncurses
-# clear/reset are in already busybox
-FILES_ncurses-tools = "${bindir}/tic ${bindir}/toe ${bindir}/infotocap ${bindir}/captoinfo ${bindir}/infocmp ${bindir}/clear ${bindir}/reset ${bindir}/tack "
-FILES_ncurses-terminfo = "${datadir}/terminfo"
-FILES_${PN} = "${bindir}/tput ${bindir}/tset ${libdir}/lib*.so.* usr/share/tabset etc/terminfo"
-
-PARALLEL_MAKE=""
-
-EXTRA_OECONF = "--with-shared \
- --without-profile \
- --without-debug \
- --disable-rpath \
- --enable-echo \
- --enable-const \
- --without-ada \
- --enable-termcap \
- --without-cxx-binding \
- --with-terminfo-dirs=${sysconfdir}/terminfo:${datadir}/terminfo \
- --enable-overwrite"
-export BUILD_CCFLAGS = "-I${S}/ncurses -I${S}/include ${BUILD_CFLAGS}"
-export BUILD_LDFLAGS = ""
-export EXTRA_OEMAKE = '"BUILD_LDFLAGS=" "BUILD_CCFLAGS=${BUILD_CCFLAGS}"'
-
-do_stage () {
- for i in libncurses libpanel libform libmenu; do
- oe_libinstall -so -C lib $i ${STAGING_LIBDIR}
- done
- for h in ncurses_*.h curses.h eti.h form.h menu.h panel.h \
- termcap.h term.h unctrl.h; do
- install -m 0644 include/$h ${STAGING_INCDIR}/
- done
- ln -sf curses.h ${STAGING_INCDIR}/ncurses.h
-}
-
-do_install() {
- autotools_do_install
-
- # include some basic terminfo files
- # stolen ;) from gentoo and modified a bit
- for x in ansi console dumb linux rxvt screen sun vt{52,100,102,200,220} xterm-color xterm-xfree86
- do
- local termfile="$(find "${D}/usr/share/terminfo/" -name "${x}" 2>/dev/null)"
- local basedir="$(basename $(dirname "${termfile}"))"
-
- if [ -n "${termfile}" ]
- then
- install -d ${D}/etc/terminfo/${basedir}
- mv ${termfile} ${D}/etc/terminfo/${basedir}/
- ln -s /etc/terminfo/${basedir}/${x} \
- ${D}/usr/share/terminfo/${basedir}/${x}
- fi
- done
- # i think we can use xterm-color as default xterm
- if [ -e ${D}/etc/terminfo/x/xterm-color ]
- then
- ln -sf xterm-color ${D}/etc/terminfo/x/xterm
- fi
-}
+include ncursees.inc