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
+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
+}
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