diff options
author | xf005570@ <xf005570@> | 2003-09-16 18:50:27 +0000 |
---|---|---|
committer | xf005570@ <xf005570@> | 2003-09-16 18:50:27 +0000 |
commit | d3aa25dd28cb8ae476872f38abf60333712c9cc7 (patch) | |
tree | 1d2cc72056c77a86ac8e7ead4903dd19bcbb7802 /content/ncurses-4.2.oe | |
parent | 9dcca95ad0c76a549a119811926326261d545e43 (diff) |
Some initial updates per the switch to the autotools oeclass. Still a great deal of .oe files to update.
BKrev: 3f675b73lRNfFY6XmSi7IYJayy-cqQ
Diffstat (limited to 'content/ncurses-4.2.oe')
-rw-r--r-- | content/ncurses-4.2.oe | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/content/ncurses-4.2.oe b/content/ncurses-4.2.oe index e69de29bb2..b2821dfb8e 100644 --- a/content/ncurses-4.2.oe +++ b/content/ncurses-4.2.oe @@ -0,0 +1,42 @@ +DESCRIPTION="Ncurses library" +SECTION="libs" +DEPENDS=virtual/libc +SRC_URI = ${GNU_MIRROR}/ncurses/${P}.tar.gz \ + file://${FILESDIR}/mk_shared_lib.patch;patch=1 \ + file://${FILESDIR}/run_tic.patch;patch=1 +S = ${WORKDIR}/${P} + +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=/etc/terminfo:/usr/share/terminfo \ + --enable-overwrite +EXTRA_OEMAKE = +export HOSTCCFLAGS=-I${S}/ncurses -I${S}/include ${BUILD_CFLAGS} +export HOSTLDFLAGS= +export LD := ${CC} + +do_compile () { + oe_runmake -C progs 'HOSTCC=${BUILD_CC}' 'HOSTLDFLAGS=' \ + 'HOSTCCFLAGS=${HOSTCCFLAGS}' 'CC=${BUILD_CC}' \ + 'LINK=${BUILD_CXX}' 'CFLAGS=${HOSTCCFLAGS}' \ + 'LDFLAGS=-lncurses' tic + oe_runmake 'HOSTCC=${HOSTCC}' 'HOSTLDFLAGS=' 'HOSTCCFLAGS=${HOSTCCFLAGS}' +} + +do_stage () { + install -m 0755 lib/lib*.so.* ${STAGING_LIBDIR}/ + cp -R include/* ${STAGING_DIR}/target/include/ + ln -sf libpanel.so.${PV} ${STAGING_LIBDIR}/libpanel.so + ln -sf libform.so.${PV} ${STAGING_LIBDIR}/libform.so + ln -sf libmenu.so.${PV} ${STAGING_LIBDIR}/libmenu.so + ln -sf libncurses.so.${PV} ${STAGING_LIBDIR}/libncurses.so +} |