CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
p5-sdl1-perl: Initial import (verified compilation)
authorVictor Martinez <pitillo@ono.com>
Tue, 19 Jan 2010 21:27:46 +0000 (21:27 +0000)
committerVictor Martinez <pitillo@ono.com>
Tue, 19 Jan 2010 21:27:46 +0000 (21:27 +0000)
p5-sdl1-perl/.footprint [new file with mode: 0644]
p5-sdl1-perl/.md5sum [new file with mode: 0644]
p5-sdl1-perl/Pkgfile [new file with mode: 0644]

diff --git a/p5-sdl1-perl/.footprint b/p5-sdl1-perl/.footprint
new file mode 100644 (file)
index 0000000..aee885e
--- /dev/null
@@ -0,0 +1,66 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/lib/
+drwxr-xr-x     root/root       usr/lib/perl5/
+drwxr-xr-x     root/root       usr/lib/perl5/site_perl/
+drwxr-xr-x     root/root       usr/lib/perl5/site_perl/5.10.0/
+drwxr-xr-x     root/root       usr/lib/perl5/site_perl/5.10.0/linux/
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL.pm
+drwxr-xr-x     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/App.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Cdrom.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Color.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Console.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Cursor.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Event.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Font.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Mixer.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Music.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/OpenGL.pm
+drwxr-xr-x     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/OpenGL/
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/OpenGL/Cube.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/OpenGL/Model.pm
+drwxr-xr-x     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Opt/
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Opt/Color.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Opt/Rect.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Opt/Surface.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Palette.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Rect.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Shell.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Sound.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Surface.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/TTFont.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Timer.pm
+drwxr-xr-x     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Tool/
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Tool/Font.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL/Tool/Graphic.pm
+-r--r--r--     root/root       usr/lib/perl5/site_perl/5.10.0/linux/SDL_perl.pm
+drwxr-xr-x     root/root       usr/lib/perl5/site_perl/5.10.0/linux/auto/
+drwxr-xr-x     root/root       usr/lib/perl5/site_perl/5.10.0/linux/auto/SDL_perl/
+-r-xr-xr-x     root/root       usr/lib/perl5/site_perl/5.10.0/linux/auto/SDL_perl/SDL_perl.so
+drwxr-xr-x     root/root       usr/man/
+drwxr-xr-x     root/root       usr/man/man3/
+-r--r--r--     root/root       usr/man/man3/SDL.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::App.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::Cdrom.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::Color.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::Console.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::Cursor.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::Event.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::Font.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::Mixer.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::Music.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::OpenGL.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::OpenGL::Cube.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::OpenGL::Model.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::Opt::Color.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::Opt::Rect.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::Opt::Surface.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::Palette.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::Rect.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::Shell.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::Sound.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::Surface.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::TTFont.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::Timer.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::Tool::Font.3pm.gz
+-r--r--r--     root/root       usr/man/man3/SDL::Tool::Graphic.3pm.gz
diff --git a/p5-sdl1-perl/.md5sum b/p5-sdl1-perl/.md5sum
new file mode 100644 (file)
index 0000000..328af1b
--- /dev/null
@@ -0,0 +1 @@
+041617aec124677083ecef04aa48f927  SDL_perl-1.20.0.tar.gz
diff --git a/p5-sdl1-perl/Pkgfile b/p5-sdl1-perl/Pkgfile
new file mode 100644 (file)
index 0000000..ed1c226
--- /dev/null
@@ -0,0 +1,34 @@
+# Description: SDL perl extension.
+# URL: http://search.cpan.org/~dgoehrig/SDL_Perl-2.1.3/
+# Packager: Younes Hafri, ycrux at club-internet dot fr
+# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on: sdl_image sdl_net sdl_ttf
+
+name=p5-sdl1-perl
+version=1.20.0 # note do not edit to 1.20.3 as this will break frozen-bubble
+release=1
+source=(http://zarb.org/~gc/t/SDL_perl-$version.tar.gz)
+
+build() {
+  cd SDL_perl-$version
+
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr
+
+  export INC="$DEFAULT_CFLAGS -I$CLFS/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_SDL_NET -DHAVE_SDL_TTF -DHAVE_SDL_IMAGE"
+       
+  make AR="$AR" CC="$CC" LD="$CC" INC="$INC" CFLAGS="$CFLAGS" OPTIMIZE="$CFLAGS"
+  make DESTDIR=$PKG install AR="$AR" CC="$CC" INC="$INC" CFLAGS="$CFLAGS"
+
+  # Remove perlcrap
+  find $PKG -type f \( \
+    -name '.packlist' -o \
+    -name '*.bs' -o \
+    -name 'autosplit.ix' -o \
+    -name 'perllocal.pod' \) -delete
+
+  # Remove empty directories
+  find $PKG -depth -empty -delete
+}