wok-current view libsdl-perl/receipt @ rev 18056

Up: cookutils, cookutils-daemon (737).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 15 16:51:30 2015 +0300 (2015-05-15)
parents 6eff489aa802
children ca4a422cce07
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 LICENSE="LGPL2"
9 SOURCE="SDL_Perl"
10 TARBALL="$SOURCE-v${VERSION}.tar.gz"
11 WEB_SITE="http://sdl.perl.org"
12 WGET_URL="http://search.cpan.org/CPAN/authors/id/K/KT/KTHAKORE/$TARBALL"
14 DEPENDS="xorg libglu-mesa mesa libsdl libsdl-gfx libsdl-image libsdl-mixer \
15 libsdl-net libsmpeg libsdl-ttf"
16 BUILD_DEPENDS="perl-yaml xorg-dev libglu-mesa libglu-mesa-dev mesa-dev \
17 libsdl-dev libsdl-gfx-dev libsdl-image-dev libsdl-mixer-dev libsdl-net-dev \
18 libsdl-ttf-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 perl Build.PL destdir="$DESTDIR" &&
25 perl Build &&
26 perl Build install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/lib $fs/usr
34 }