summaryrefslogtreecommitdiff
path: root/ncurses
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-10-17 00:04:36 +0000
committerChris Larson <clarson@kergoth.com>2003-10-17 00:04:36 +0000
commit88ca5e7b8d117bdceef3516d15a5e5b0b4b75eaf (patch)
tree9e685fd22294440eb759c1e734c682a1ab8225ac /ncurses
parent89f514b9d243fe551466eae22a72e482a2c99541 (diff)
First pass at patches to update various packages to recent autotools (first pass is 'autoupdate' only).
BKrev: 3f8f3214lGQ4WxIZ_n6VvkJ1pfUjcQ
Diffstat (limited to 'ncurses')
-rw-r--r--ncurses/ncurses/configure.patch0
-rw-r--r--ncurses/ncurses_5.3.oe47
2 files changed, 47 insertions, 0 deletions
diff --git a/ncurses/ncurses/configure.patch b/ncurses/ncurses/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/ncurses/ncurses/configure.patch
diff --git a/ncurses/ncurses_5.3.oe b/ncurses/ncurses_5.3.oe
index e69de29bb2..ff857f0ee0 100644
--- a/ncurses/ncurses_5.3.oe
+++ b/ncurses/ncurses_5.3.oe
@@ -0,0 +1,47 @@
+BaseV := ${PV}
+SnapV := 20030906
+PV = ${BaseV}.${SnapV}
+
+DESCRIPTION="Ncurses library"
+SECTION="libs"
+DEPENDS=virtual/libc
+PROVIDES=${PV}-${BaseV} ${PV}-${BaseV}-${PR} \
+ ${CATEGORY}/${PN}-${BaseV} ${CATEGORY}/${PN}-${BaseV}-${PR}
+SRC_URI = ${GNU_MIRROR}/ncurses/${PN}-${BaseV}.tar.gz \
+ file://${FILESDIR}/${SnapV}.patch;patch=1 \
+ file://${FILESDIR}/configure.patch;patch=1
+S = ${WORKDIR}/${PN}-${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=/etc/terminfo:/usr/share/terminfo \
+ --enable-overwrite
+export BUILD_CC := ${BUILD_CC}
+export BUILD_CCFLAGS=-I${S}/ncurses -I${S}/include ${BUILD_CFLAGS}
+export BUILD_LDFLAGS=
+
+do_compile () {
+ oe_runmake BUILD_LDFLAGS="" 'BUILD_CCFLAGS=${BUILD_CCFLAGS}'
+}
+
+do_stage () {
+ install -m 0755 lib/lib*.so.* ${STAGING_LIBDIR}/
+ 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_DIR}/target/include/
+ done
+ ln -sf curses.h ${STAGING_DIR}/target/include/ncurses.h
+ ln -sf libpanel.so.5.3 ${STAGING_LIBDIR}/libpanel.so
+ ln -sf libform.so.5.3 ${STAGING_LIBDIR}/libform.so
+ ln -sf libmenu.so.5.3 ${STAGING_LIBDIR}/libmenu.so
+ ln -sf libncurses.so.5.3 ${STAGING_LIBDIR}/libncurses.so
+}