summaryrefslogtreecommitdiff
path: root/content/ncurses-5.3.oe
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-09-09 18:51:54 +0000
committerChris Larson <clarson@kergoth.com>2003-09-09 18:51:54 +0000
commit2edeb4cb22ea98a06c7a593431b70a4062c1b2fd (patch)
treebed59676eb8231954a6a3d6096316d4fb4ab2bc6 /content/ncurses-5.3.oe
parent68c73a9d7f2164b45ce0d7daaa96384de9b6ca55 (diff)
BUGFIX: add staging function for ncurses, and make dropbear and zsh build.
BKrev: 3f5e214aJ9TnzKvd0sHVB6qF-CvHEg
Diffstat (limited to 'content/ncurses-5.3.oe')
-rw-r--r--content/ncurses-5.3.oe39
1 files changed, 39 insertions, 0 deletions
diff --git a/content/ncurses-5.3.oe b/content/ncurses-5.3.oe
index e69de29bb2..873d13b5b9 100644
--- a/content/ncurses-5.3.oe
+++ b/content/ncurses-5.3.oe
@@ -0,0 +1,39 @@
+DESCRIPTION="Ncurses library"
+SECTION="libs"
+DEPENDS=virtual/libc
+PV_append=.20030719
+SRC_URI=${DEBIAN_MIRROR}/main/n/ncurses/ncurses_${PV}.orig.tar.gz \
+ ${DEBIAN_MIRROR}/main/n/ncurses/ncurses_${PV}-1.diff.gz;patch=1 \
+ file://${FILESDIR}/ncurses-5.2.patch;patch=1 \
+ file://${FILESDIR}/ncurses-dirs.patch;patch=1
+
+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_stage () {
+ install -m 0755 lib/lib*.so.* ${STAGING_LIBDIR}/
+ cp -R include/* ${STAGING_DIR}/target/include/
+ 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
+}
+
+do_install () {
+ set -e
+ oe_runmake DESTDIR=${D} install
+}
+
+S="${WORKDIR}/${P}.orig"