wok view libsdl-perl/receipt @ rev 14748
busybox: add musl & dietlibc patchs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 16 15:26:17 2013 +0200 (2013-06-16) |
parents | 6b09507225ec |
children | a00bf44ed23d |
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="GPL2"
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 }