diff options
Diffstat (limited to 'ncurses')
-rw-r--r-- | ncurses/ncurses-native_5.4.bb | 0 | ||||
-rw-r--r-- | ncurses/ncurses-native_5.4.oe | 5 | ||||
-rw-r--r-- | ncurses/ncurses_5.3.bb | 0 | ||||
-rw-r--r-- | ncurses/ncurses_5.3.oe | 61 | ||||
-rw-r--r-- | ncurses/ncurses_5.4.bb | 0 | ||||
-rw-r--r-- | ncurses/ncurses_5.4.oe | 79 |
6 files changed, 0 insertions, 145 deletions
diff --git a/ncurses/ncurses-native_5.4.bb b/ncurses/ncurses-native_5.4.bb new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/ncurses/ncurses-native_5.4.bb diff --git a/ncurses/ncurses-native_5.4.oe b/ncurses/ncurses-native_5.4.oe deleted file mode 100644 index 391397cc1e..0000000000 --- a/ncurses/ncurses-native_5.4.oe +++ /dev/null @@ -1,5 +0,0 @@ -SECTION = "libs" -include ncurses_${PV}.oe -inherit native -EXTRA_OEMAKE = '"BUILD_CCFLAGS=${BUILD_CCFLAGS}"' -DEPENDS = "" diff --git a/ncurses/ncurses_5.3.bb b/ncurses/ncurses_5.3.bb new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/ncurses/ncurses_5.3.bb diff --git a/ncurses/ncurses_5.3.oe b/ncurses/ncurses_5.3.oe deleted file mode 100644 index 0c34bc620e..0000000000 --- a/ncurses/ncurses_5.3.oe +++ /dev/null @@ -1,61 +0,0 @@ -BaseV := "${PV}" -SnapV := "20030906" -PV = "${BaseV}.${SnapV}" - -DESCRIPTION = "Ncurses library" -SECTION = "libs" -DEPENDS = "ncurses-native" -PROVIDES = "${PV}-${BaseV} ${PV}-${BaseV}-${PR} \ - ${CATEGORY}/${PN}-${BaseV} ${CATEGORY}/${PN}-${BaseV}-${PR} " -PACKAGES_append = " ncurses-terminfo" -FILES_ncurses_append = " ${datadir}/tabset" -FILES_ncurses-terminfo = "${datadir}/terminfo" - -SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${BaseV}.tar.gz \ - file://${SnapV}.patch;patch=1 \ - file://configure.patch;patch=1" -S = "${WORKDIR}/ncurses-${BaseV}" - -inherit autotools - -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 = "" - -do_configure_prepend () { - if [ -e aclocal.m4 -a ! -e acinclude.m4 ]; then - cat aclocal.m4 > acinclude.m4 - fi -} - -do_configure () { -# override this function to avoid the autoconf/automake/aclocal/autoheader -# calls for now - gnu-configize - oe_runconf -} - -do_compile () { - oe_runmake BUILD_LDFLAGS="" 'BUILD_CCFLAGS=${BUILD_CCFLAGS}' -} - -do_stage () { - 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 - for i in ncurses panel form menu; do - oe_libinstall -so -C lib $i ${STAGING_LIBDIR} - done -} diff --git a/ncurses/ncurses_5.4.bb b/ncurses/ncurses_5.4.bb new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/ncurses/ncurses_5.4.bb diff --git a/ncurses/ncurses_5.4.oe b/ncurses/ncurses_5.4.oe deleted file mode 100644 index 514868063b..0000000000 --- a/ncurses/ncurses_5.4.oe +++ /dev/null @@ -1,79 +0,0 @@ -PR = "r3" -DESCRIPTION = "Ncurses library" -HOMEPAGE = "http://www.gnu.org/software/ncurses/ncurses.html" -LICENSE = "MIT" -SECTION = "libs" -DEPENDS = "ncurses-native" -PACKAGES_append = " ncurses-terminfo" -FILES_ncurses_append = " ${datadir}/tabset" -FILES_ncurses-terminfo = "${datadir}/terminfo" -RSUGGESTS_${PN} = "ncurses-terminfo" - -SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz" -S = "${WORKDIR}/ncurses-${PV}" - -inherit autotools - -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_configure_prepend () { - if [ -e aclocal.m4 -a ! -e acinclude.m4 ]; then - cat aclocal.m4 > acinclude.m4 - fi -} - -do_configure () { -# override this function to avoid the autoconf/automake/aclocal/autoheader -# calls for now - gnu-configize - oe_runconf -} - -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 -} |