summaryrefslogtreecommitdiff
path: root/packages/sdlperl/sdl-perl_1.20.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sdlperl/sdl-perl_1.20.3.bb')
-rw-r--r--packages/sdlperl/sdl-perl_1.20.3.bb14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/sdlperl/sdl-perl_1.20.3.bb b/packages/sdlperl/sdl-perl_1.20.3.bb
index e69de29bb2..d85d11cc2d 100644
--- a/packages/sdlperl/sdl-perl_1.20.3.bb
+++ b/packages/sdlperl/sdl-perl_1.20.3.bb
@@ -0,0 +1,14 @@
+SECTION = "libs"
+DESCRIPTION = "Perl bindings for SDL"
+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"
+
+inherit cpan
+
+do_stage () {
+ install -d ${STAGING_LIBDIR}/perl5/vendor_perl
+ install -m 0644 ${S}/lib/SDL.pm ${STAGING_LIBDIR}/perl5/vendor_perl
+}