summaryrefslogtreecommitdiff
path: root/frozen-bubble
diff options
context:
space:
mode:
Diffstat (limited to 'frozen-bubble')
-rw-r--r--frozen-bubble/frozen-bubble_1.0.0.oe15
1 files changed, 15 insertions, 0 deletions
diff --git a/frozen-bubble/frozen-bubble_1.0.0.oe b/frozen-bubble/frozen-bubble_1.0.0.oe
index e69de29bb2..7765bd81ac 100644
--- a/frozen-bubble/frozen-bubble_1.0.0.oe
+++ b/frozen-bubble/frozen-bubble_1.0.0.oe
@@ -0,0 +1,15 @@
+DEPENDS = "libsdl-mixer libsdl-image sdl-perl"
+
+SRC_URI = "http://zarb.org/~gc/fb//frozen-bubble-${PV}.tar.bz2 \
+ file://Makefile.patch;patch=1 \
+ file://Makefile.PL.patch;patch=1"
+# 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}"
+}
+
+do_install() {
+ oe_runmake PREFIX="${D}${prefix}" install
+}