summaryrefslogtreecommitdiff
path: root/frotz
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-12-03 04:22:15 +0000
committerChris Larson <clarson@kergoth.com>2003-12-03 04:22:15 +0000
commit4e62832980e7c7f1d205e67c6db89dcdff200b6b (patch)
tree8a48d25578735621192b1edad8cf246818b7585b /frotz
parentb79d37952fe99f5821686e1810a036d25d07ab0d (diff)
Remove unnecessary sets of the S variable, we have a sane default for that now.
BKrev: 3fcd64f7p2VYsNYNbFnMtPYuY-5tZQ
Diffstat (limited to 'frotz')
-rw-r--r--frotz/frotz_2.42.oe20
1 files changed, 20 insertions, 0 deletions
diff --git a/frotz/frotz_2.42.oe b/frotz/frotz_2.42.oe
index e69de29bb2..b133d33173 100644
--- a/frotz/frotz_2.42.oe
+++ b/frotz/frotz_2.42.oe
@@ -0,0 +1,20 @@
+DEPENDS = virtual/libc ncurses
+RDEPENDS = libc6 ncurses5
+
+SRC_URI = http://www.cs.csubak.edu/~dgriffi/proj/frotz/files/frotz-${PV}.tar.gz
+
+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
+}