wok annotate libsdl-perl/receipt @ rev 10846
busybox: tiny edits
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Jun 11 13:16:57 2011 +0100 (2011-06-11) |
parents | 13dc35a06ce8 |
children | 6b09507225ec |
rev | line source |
---|---|
slaxemulator@7408 | 1 # SliTaz package receipt. |
slaxemulator@7408 | 2 |
slaxemulator@7408 | 3 PACKAGE="libsdl-perl" |
slaxemulator@7408 | 4 VERSION="2.2.6" |
slaxemulator@7408 | 5 CATEGORY="x-window" |
slaxemulator@7408 | 6 SHORT_DESC="SDL perl support." |
slaxemulator@7408 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7408 | 8 DEPENDS="xorg libglu-mesa mesa libsdl libsdl-gfx libsdl-image libsdl-mixer libsdl-net libsmpeg libsdl-ttf" |
slaxemulator@7408 | 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" |
slaxemulator@7408 | 10 SOURCE="SDL_Perl" |
slaxemulator@7408 | 11 TARBALL="$SOURCE-v${VERSION}.tar.gz" |
slaxemulator@7408 | 12 WEB_SITE="http://sdl.perl.org" |
slaxemulator@7408 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/K/KT/KTHAKORE/$TARBALL" |
slaxemulator@7408 | 14 |
slaxemulator@7408 | 15 # Rules to configure and make the package. |
slaxemulator@7408 | 16 compile_rules() |
slaxemulator@7408 | 17 { |
slaxemulator@7408 | 18 cd $src |
slaxemulator@7408 | 19 perl Build.PL destdir="$PWD/_pkg" && |
slaxemulator@7408 | 20 perl Build && |
slaxemulator@7408 | 21 perl Build install |
slaxemulator@7408 | 22 } |
slaxemulator@7408 | 23 |
slaxemulator@7408 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7408 | 25 genpkg_rules() |
slaxemulator@7408 | 26 { |
slaxemulator@7408 | 27 mkdir -p $fs/usr |
slaxemulator@7408 | 28 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@7408 | 29 } |
slaxemulator@7408 | 30 |