Add ncurses to deps for frotz.
authorChris Larson <clarson@kergoth.com>
Sun, 28 Sep 2003 22:06:04 +0000 (22:06 +0000)
committerChris Larson <clarson@kergoth.com>
Sun, 28 Sep 2003 22:06:04 +0000 (22:06 +0000)
Add screen 3.9.15 and nano 1.2.1 - neither build due to bad autoconf tests.

BKrev: 3f775b4ciQhyUHi4EnVlL8KnIibYaQ

frotz/frotz-2.42.oe
nano/nano-1.2.1.oe [new file with mode: 0644]
screen/screen-3.9.15.oe [new file with mode: 0644]

index e69de29..b1a7a66 100644 (file)
@@ -0,0 +1,23 @@
+DEPENDS = virtual/libc ncurses
+RDEPENDS = libc6 libncurses5
+
+SRC_URI = http://www.cs.csubak.edu/~dgriffi/proj/frotz/files/frotz-${PV}.tar.gz
+
+S = ${WORKDIR}/${P}
+
+
+do_configure() {
+    patch -N ${s}/ux_init.c < remove_root_restriction.patch || :
+    rm -f ${SourceTree}/frotz.conf
+}
+
+
+EXTRA_OEMAKE=CC="${CC}" INCL="${CFLAGS}" LIB="${LDFLAGS}" PREFIX=/usr CONFIG_DIR=/etc 
+do_compile() {
+    oe_runmake frotz
+    sed 's/^[a-z]/#&/' frotz.conf-big > frotz.conf;
+}
+
+do_install() {
+    oe_runmake PREFIX=${D}/usr MAN_PREFIX=${D}/usr install
+}
diff --git a/nano/nano-1.2.1.oe b/nano/nano-1.2.1.oe
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/screen/screen-3.9.15.oe b/screen/screen-3.9.15.oe
new file mode 100644 (file)
index 0000000..e69de29