diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/frozen-bubble/frozen-bubble_2.2.0.bb | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/frozen-bubble/frozen-bubble_2.2.0.bb')
-rw-r--r-- | recipes/frozen-bubble/frozen-bubble_2.2.0.bb | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/recipes/frozen-bubble/frozen-bubble_2.2.0.bb b/recipes/frozen-bubble/frozen-bubble_2.2.0.bb new file mode 100644 index 0000000000..27afc64f65 --- /dev/null +++ b/recipes/frozen-bubble/frozen-bubble_2.2.0.bb @@ -0,0 +1,79 @@ +DESCRIPTION="A Puzzle Bubble clone written in perl (now with network support)" +LICENSE = "GPL" +SECTION = "games" +DEPENDS = "sdlpango libsdl-mixer perl" +RDEPENDS_${PN} = "${PN}-data perl sdl-perl \ + perl-module-strict perl-module-vars \ + perl-module-getopt-long perl-module-exporter-heavy \ + perl-module-data-dumper \ + perl-module-bytes liblocale-gettext-perl \ + perl-module-dynaloader perl-module-posix \ + perl-module-math-trig \ + perl-module-io-file perl-module-io \ + perl-module-file-spec-unix perl-module-time-hires \ + perl-module-io-socket perl-module-io-select \ + perl-module-file-glob \ + " + +PR="r0" + +DEFAULT_PREFERENCE = "-1" + +inherit cpan-base + +S=${WORKDIR}/frozen-bubble-2.2.0/ + +PERL_VERSION = ${@get_perl_version(d)} + +SRC_URI = "http://www.frozen-bubble.org/data/frozen-bubble-${PV}.tar.bz2 \ + file://Makefile.PL.patch;patch=1 \ + file://Makefile.patch;patch=1 \ + file://Makefile_top.patch;patch=1 \ + file://localespath-fix.patch;patch=1 \ + " + +#permit the installation of the locales in ${datadir}/locales otherwise they are installed in /usr/local/share/locales + +# The Makefile needs to be patched to look in STAGING_LIBDIR/perl/... - It's looking in i686-linux/lib at the moment, regardless of arch +BROKEN = "1" + + +do_compile() { + oe_runmake OPTIMIZE="${CFLAGS}" PREFIX="${prefix}" INSTALLSITELIB="${D}/${libdir}/perl/${PERL_VERSION}/" LOCALEDIR="${datadir}/locale" +} + +do_install() { + oe_runmake PREFIX="${prefix}" DESTDIR="${D}" DATADIR="${datadir}" LOCALEDIR="${datadir}/locale" install +} + +PACKAGES += "${PN}-editor ${PN}-data ${PN}-server" + + +DESCRIPTION_${PN}-editor = "Map Editor for Frozen Bubble" +DESCRIPTION_${PN}-data = "Mandatory data package for Frozen Bubble" +DESCRIPTION_${PN}-server = "Server for Frozen Bubble" + +FILES_${PN} = "\ + ${bindir}/frozen-bubble \ + ${libdir}/perl/${PERL_VERSION}/auto/fb_c_stuff/fb_c_stuff.* \ + ${libdir}/perl/${PERL_VERSION}/fb* \ + ${libdir}/perl/${PERL_VERSION}/perllocal.pod \ + ${libdir}/perl/${PERL_VERSION}/FBLE.pm \ +" + +FILES_${PN}-dbg += " \ + ${libdir}/perl/${PERL_VERSION}/auto/fb_c_stuff/.debug \ + ${libdir}/${PN}/.debug \ +" + +FILES_${PN}-editor = "\ + ${bindir}/frozen-bubble-editor \ +" + +FILES_${PN}-data = "\ + ${datadir}/frozen-bubble \ +" + +FILES_${PN}-server = " \ + ${libdir}/${PN}/fb-server \ +" |