diff options
author | Chris Larson <clarson@kergoth.com> | 2003-12-03 04:22:15 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2003-12-03 04:22:15 +0000 |
commit | 4e62832980e7c7f1d205e67c6db89dcdff200b6b (patch) | |
tree | 8a48d25578735621192b1edad8cf246818b7585b /ncurses | |
parent | b79d37952fe99f5821686e1810a036d25d07ab0d (diff) |
Remove unnecessary sets of the S variable, we have a sane default for that now.
BKrev: 3fcd64f7p2VYsNYNbFnMtPYuY-5tZQ
Diffstat (limited to 'ncurses')
-rw-r--r-- | ncurses/ncurses_4.2.oe | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/ncurses/ncurses_4.2.oe b/ncurses/ncurses_4.2.oe index e69de29bb2..706691bedf 100644 --- a/ncurses/ncurses_4.2.oe +++ b/ncurses/ncurses_4.2.oe @@ -0,0 +1,40 @@ +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 + +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 +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 +} |