Merge oe-devel@oe-devel.bkbits.net:packages
[openembedded.git] / frotz / frotz_2.43.oe
1 LICENSE = GPL
2 DESCRIPTION = "Frotz is an interpreter for Infocom games and other Z-machine games."
3 HOMEPAGE = "http://www.cs.csubak.edu/~dgriffi/proj/frotz/"
4 SECTION = "console/games"
5 DEPENDS = "ncurses"
6
7 SRC_URI = "http://www.cs.csubak.edu/~dgriffi/proj/frotz/files/frotz-${PV}.tar.gz \
8         file://Makefile-${PV}.patch;patch=1 \
9         file://remove_root_restriction.patch;patch=1 "
10
11 do_configure() {
12         rm -f ${SourceTree}/frotz.conf
13 }
14
15 EXTRA_OEMAKE = "CC='${CC}' INCL='${CFLAGS}' LIB='${LDFLAGS}' PREFIX=${prefix} CONFIG_DIR=${sysconfdir}"
16
17 do_compile() {
18         oe_runmake frotz
19 }
20
21 do_install() {
22         oe_runmake PREFIX=${D}${prefix} MAN_PREFIX=${D}${mandir} install
23 }