summaryrefslogtreecommitdiff
path: root/frotz
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-09-28 22:06:04 +0000
committerChris Larson <clarson@kergoth.com>2003-09-28 22:06:04 +0000
commit01ad1ee5e36e757b80976287bb7b22ac5a1bd150 (patch)
tree9a0ac6c8a940ef8d6f869d34e835ceae6a629870 /frotz
parent12aaa87d68d68f07be6e4cf95bf172fce790779f (diff)
Add ncurses to deps for frotz.
Add screen 3.9.15 and nano 1.2.1 - neither build due to bad autoconf tests. BKrev: 3f775b4ciQhyUHi4EnVlL8KnIibYaQ
Diffstat (limited to 'frotz')
-rw-r--r--frotz/frotz-2.42.oe23
1 files changed, 23 insertions, 0 deletions
diff --git a/frotz/frotz-2.42.oe b/frotz/frotz-2.42.oe
index e69de29bb2..b1a7a66411 100644
--- a/frotz/frotz-2.42.oe
+++ b/frotz/frotz-2.42.oe
@@ -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
+}