wok-next view libsdl-perl/receipt @ rev 14384
connman-dev: fix deps+bdeps
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Apr 23 06:56:23 2013 +0200 (2013-04-23) |
parents | be13f25e790b |
children | 6eff489aa802 |
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 SOURCE="SDL_Perl"
9 TARBALL="$SOURCE-v${VERSION}.tar.gz"
10 WEB_SITE="http://sdl.perl.org"
11 WGET_URL="http://search.cpan.org/CPAN/authors/id/K/KT/KTHAKORE/$TARBALL"
13 DEPENDS="xorg libglu-mesa mesa libsdl libsdl-gfx libsdl-image libsdl-mixer \
14 libsdl-net libsmpeg libsdl-ttf"
15 BUILD_DEPENDS="perl-yaml xorg-dev libglu-mesa libglu-mesa-dev mesa-dev \
16 libsdl-dev libsdl-gfx-dev libsdl-image-dev libsdl-mixer-dev libsdl-net-dev \
17 libsdl-ttf-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 perl Build.PL destdir="$DESTDIR" &&
24 perl Build &&
25 perl Build install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/lib $fs/usr
33 }