wok view libsdl-perl/receipt @ rev 7994

Up: pcre to 8.12.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jan 17 21:54:12 2011 +0000 (2011-01-17)
parents
children be13f25e790b
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl-perl"
4 VERSION="2.2.6"
5 CATEGORY="x-window"
6 SHORT_DESC="SDL perl support."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="xorg libglu-mesa mesa libsdl libsdl-gfx libsdl-image libsdl-mixer libsdl-net libsmpeg libsdl-ttf"
9 BUILD_DEPENDS="perl-yaml xorg-dev libglu-mesa mesa-dev libsdl-dev libsdl-gfx-dev libsdl-image-dev libsdl-mixer-dev libsdl-net-dev libsdl-ttf-dev"
10 SOURCE="SDL_Perl"
11 TARBALL="$SOURCE-v${VERSION}.tar.gz"
12 WEB_SITE="http://sdl.perl.org"
13 WGET_URL="http://search.cpan.org/CPAN/authors/id/K/KT/KTHAKORE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 src=$WOK/$PACKAGE/$SOURCE-v${VERSION}
19 cd $src
20 perl Build.PL destdir="$PWD/_pkg" &&
21 perl Build &&
22 perl Build install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 _pkg=$WOK/$PACKAGE/$SOURCE-v${VERSION}/_pkg
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
31 }