Add bvi 1.3.1 (binary/hexeditor with VI-like key bindings).
authorChris Larson <clarson@kergoth.com>
Fri, 3 Oct 2003 06:46:25 +0000 (06:46 +0000)
committerChris Larson <clarson@kergoth.com>
Fri, 3 Oct 2003 06:46:25 +0000 (06:46 +0000)
BKrev: 3f7d1b415W8Zt5pwiT4F5cVPdirq3g

bvi/bvi-1.3.1.oe [new file with mode: 0644]
bvi/bvi-1.3.1/configure.patch [new file with mode: 0644]
ncurses/ncurses-5.3.oe

diff --git a/bvi/bvi-1.3.1.oe b/bvi/bvi-1.3.1.oe
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/bvi/bvi-1.3.1/configure.patch b/bvi/bvi-1.3.1/configure.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..b937f69 100644 (file)
@@ -0,0 +1,49 @@
+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
+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}/
+       install -d ${STAGING_DIR}/target/include/ncurses
+       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/ncurses/
+                      ln -sf ncurses/$h ${STAGING_DIR}/target/include/$h
+       done
+       ln -sf curses.h ${STAGING_DIR}/target/include/ncurses/ncurses.h
+       ln -sf ncurses/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
+}