summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchris@(none) <chris@(none)>2004-06-26 03:37:50 +0000
committerchris@(none) <chris@(none)>2004-06-26 03:37:50 +0000
commite5f0722b696f8f1cce9c35989106355878637944 (patch)
tree407d88cd55d431715690eda1c97ffe643f969436
parent167f29b467f341c5d0d9e09ba8dba14328c1b142 (diff)
Fix sdl-perl (maybe?), marked frozen-bubble as broken.
BKrev: 40dcef8eFJPRlAlW3ddzX5uCtx4UNA
-rw-r--r--frozen-bubble/frozen-bubble_1.0.0.oe15
-rw-r--r--sdlperl/sdl-perl_1.20.3.oe6
2 files changed, 20 insertions, 1 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
+}
diff --git a/sdlperl/sdl-perl_1.20.3.oe b/sdlperl/sdl-perl_1.20.3.oe
index 8cc607ce08..436a84d42a 100644
--- a/sdlperl/sdl-perl_1.20.3.oe
+++ b/sdlperl/sdl-perl_1.20.3.oe
@@ -3,7 +3,11 @@ SRC_URI = "http://bloodgate.com/perl/sdl/pub/SDL_perl-${PV}.tar.gz \
file://Makefile.patch;patch=1;pnum=0"
S = "${WORKDIR}/SDL_perl-${PV}"
-DEPENDS = "perl virtual/libsdl libsdl-image libsdl-gfx libsdl-ttf libsdl-mixer libsdl-net mesa"
+DEPENDS = "perl virtual/libsdl libsdl-image libsdl-gfx libsdl-ttf libsdl-mixer libsdl-net smpeg mesa"
inherit cpan
+do_stage () {
+ install -d ${STAGING_LIBDIR}/perl5/vendor_perl
+ install -m 0644 ${S}/lib/SDL.pm ${STAGING_LIBDIR}/perl5/vendor_perl
+}