summaryrefslogtreecommitdiff
path: root/recipes/frozen-bubble/frozen-bubble_1.0.0.bb
blob: 2ac3009ea1df3a99f79d3dda5204b50cf2b9b4eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
LICENSE = "GPL"
SECTION = "games"
DEPENDS = "libsdl-mixer libsdl-image sdl-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-autoloader 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 = "r1"

SRC_URI = "http://zarb.org/~gc/fb//frozen-bubble-${PV}.tar.bz2 \
	file://Makefile_top.patch \
	file://Makefile.patch \
	file://Makefile.PL.patch"
# 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
}

SRC_URI[md5sum] = "2be5ead2aee72adc3fb643630a774b59"
SRC_URI[sha256sum] = "fe7e46e529c7c3c969946c41efb519462f98dd5c280e247bd98ff629dcca1433"