summaryrefslogtreecommitdiff
path: root/frotz
diff options
context:
space:
mode:
Diffstat (limited to 'frotz')
-rw-r--r--frotz/frotz_2.42.oe1
-rw-r--r--frotz/frotz_2.43.oe23
2 files changed, 24 insertions, 0 deletions
diff --git a/frotz/frotz_2.42.oe b/frotz/frotz_2.42.oe
index a2849623e1..5a16f68ce1 100644
--- a/frotz/frotz_2.42.oe
+++ b/frotz/frotz_2.42.oe
@@ -1,3 +1,4 @@
+LICENSE = GPL
DESCRIPTION = "Frotz is an interpreter for Infocom games and other Z-machine games."
HOMEPAGE = "http://www.cs.csubak.edu/~dgriffi/proj/frotz/"
SECTION = "console/games"
diff --git a/frotz/frotz_2.43.oe b/frotz/frotz_2.43.oe
index e69de29bb2..defe0d4cf6 100644
--- a/frotz/frotz_2.43.oe
+++ b/frotz/frotz_2.43.oe
@@ -0,0 +1,23 @@
+LICENSE = GPL
+DESCRIPTION = "Frotz is an interpreter for Infocom games and other Z-machine games."
+HOMEPAGE = "http://www.cs.csubak.edu/~dgriffi/proj/frotz/"
+SECTION = "console/games"
+DEPENDS = "ncurses"
+
+SRC_URI = "http://www.cs.csubak.edu/~dgriffi/proj/frotz/files/frotz-${PV}.tar.gz \
+ file://Makefile-${PV}.patch;patch=1 \
+ file://remove_root_restriction.patch;patch=1 "
+
+do_configure() {
+ rm -f ${SourceTree}/frotz.conf
+}
+
+EXTRA_OEMAKE = "CC='${CC}' INCL='${CFLAGS}' LIB='${LDFLAGS}' PREFIX=${prefix} CONFIG_DIR=${sysconfdir}"
+
+do_compile() {
+ oe_runmake frotz
+}
+
+do_install() {
+ oe_runmake PREFIX=${D}${prefix} MAN_PREFIX=${D}${mandir} install
+}