wok view libsdl-perl/receipt @ rev 20343
git update: 2.3.0 (2015 Feb) -> 2.17.1 (2018 May)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Fri Jun 08 10:00:34 2018 +0000 (2018-06-08) |
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 }