Merge bk://oe-devel.bkbits.net/openembedded
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>
Thu, 24 Feb 2005 22:40:12 +0000 (22:40 +0000)
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>
Thu, 24 Feb 2005 22:40:12 +0000 (22:40 +0000)
into bkbits.net:/repos/n/nslu2-linux/openembedded

2005/02/24 23:24:51+01:00 handhelds.org!zecke
SDL Perl:
Move the sdl-perl patch from Pigi to the right directory. Allow building
        of sdl-perl for all gui environments

2005/02/24 23:23:25+01:00 handhelds.org!zecke
Frozen Bubble:
-Apply Pigis patches to frozen-bubble to make it build

BKrev: 421e57cc3v7zBoegz_7PMKmoHdRjyg

packages/frozen-bubble/Makefile_top.patch [moved from packages/sdl-perl/sdl-perl_1.20.3.bb with 100% similarity]
packages/frozen-bubble/frozen-bubble_1.0.0.bb
packages/sdlperl/sdl-perl_1.20.3.bb

index e69de29..f8ee64a 100644 (file)
@@ -0,0 +1,19 @@
+LICENSE = GPL
+SECTION = "opie/games"
+DEPENDS = "libsdl-mixer libsdl-image sdl-perl"
+
+SRC_URI = "http://zarb.org/~gc/fb//frozen-bubble-${PV}.tar.bz2 \
+       file://Makefile_top.patch;patch=1 \
+       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
+}
index d85d11c..d115f02 100644 (file)
@@ -4,9 +4,9 @@ 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}"
 LICENSE = "GPL"
-DEPENDS = "perl virtual/libsdl libsdl-image libsdl-gfx libsdl-ttf libsdl-mixer libsdl-net smpeg mesa"
+DEPENDS = "perl virtual/libsdl libsdl-image libsdl-gfx libsdl-ttf libsdl-mixer libsdl-net smpeg"
 
-inherit cpan
+inherit sdl
 
 do_stage () {
        install -d ${STAGING_LIBDIR}/perl5/vendor_perl