Add ncurses to deps for frotz.
[vuplus_openembedded] / frotz / frotz-2.42.oe
1 DEPENDS = virtual/libc ncurses
2 RDEPENDS = libc6 libncurses5
3
4 SRC_URI = http://www.cs.csubak.edu/~dgriffi/proj/frotz/files/frotz-${PV}.tar.gz
5
6 S = ${WORKDIR}/${P}
7
8
9 do_configure() {
10     patch -N ${s}/ux_init.c < remove_root_restriction.patch || :
11     rm -f ${SourceTree}/frotz.conf
12 }
13
14
15 EXTRA_OEMAKE=CC="${CC}" INCL="${CFLAGS}" LIB="${LDFLAGS}" PREFIX=/usr CONFIG_DIR=/etc 
16 do_compile() {
17     oe_runmake frotz
18     sed 's/^[a-z]/#&/' frotz.conf-big > frotz.conf;
19 }
20
21 do_install() {
22     oe_runmake PREFIX=${D}/usr MAN_PREFIX=${D}/usr install
23 }