diff options
Diffstat (limited to 'packages/nonworking/exult/exult_1.2.bb')
-rw-r--r-- | packages/nonworking/exult/exult_1.2.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/packages/nonworking/exult/exult_1.2.bb b/packages/nonworking/exult/exult_1.2.bb index e69de29bb2..2158fe5b37 100644 --- a/packages/nonworking/exult/exult_1.2.bb +++ b/packages/nonworking/exult/exult_1.2.bb @@ -0,0 +1,47 @@ +DESCRIPTION = "Exult is a project to create an Ultima 7 game engine that runs on modern operating systems, \ +capable of using the data and graphics files that come with the game. Qt/E based Palmtop Environments Edition w/ SDL" +SECTION = "opie/games" +PRIORITY = "optional" +DEPENDS = "libsdl-qpe libsdl-mixer zlib" +SRC_URI = "${SOURCEFORGE_MIRROR}/exult/exult-${PV}.tar.gz" + +inherit autotools + +#FIXME: Add compatible host or so, it is zaurus specific atm. + +EXTRA_OECONF = "-host=arm-embeddix-linux-gnu \ + --with-sdl-prefix=${STAGING_BINDIR}/.. \ + --disable-exult-studio-support \ + --disable-debug \ + --disable-exult-studio \ + --disable-gimp-plugin \ + --disable-tools \ + --disable-compiler \ + --enable-data \ + --disable-timidity \ + --disable-kmid \ + --with-vorbis-prefix=${STAGING_LIBDIR}/.. \ + --with-mpeg2-prefix=${STAGING_LIBDIR}/.. \ + --with-mad-prefix=${STAGING_BINDIR}/.. " + +#CXXFLAGS_append = " -Dmain=SDL_main" +#CFLAGS_append = " -Dmain=SDL_main" + +do_install() { + install -d ${D}/${palmtopdir}/bin \ + ${D}/${palmtopdir}/data + install -m 0755 exult ${D}/${palmtopdir}/bin/exult + install -m 0755 data/exult.flx ${D}/${palmtopdir}/data + install -m 0755 data/exult_bg.flx ${D}/${palmtopdir}/data + install -m 0755 data/exult_si.flx ${D}/${palmtopdir}/data + install -m 0755 data/midisfx.flx ${D}/${palmtopdir}/data + + echo "[Desktop Entry]" >${D}/${palmtopdir}/apps/Games/exult.desktop + echo "Comment=Exult game" >>${D}/${palmtopdir}/apps/Games/exult.desktop + echo "Exec=exult" >>${D}/${palmtopdir}/apps/Games/exult.desktop + echo "Icon=exult" >>${D}/${palmtopdir}/apps/Games/exult.desktop + echo "Type=Application" >>${D}/${palmtopdir}/apps/Games/exult.desktop + echo "Name=Exult" >>${D}/${palmtopdir}/apps/Games/exult.desktop +} + +FILES_${PN} = "${palmtopdir}" |