wok-current annotate libsdl-perl/receipt @ rev 15222
cups-pam: fix pre_remove
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 22 09:48:59 2013 +0200 (2013-09-22) |
parents | 6eff489aa802 |
children | ca4a422cce07 |
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" |
pascal@15004 | 8 LICENSE="LGPL2" |
slaxemulator@7408 | 9 SOURCE="SDL_Perl" |
slaxemulator@7408 | 10 TARBALL="$SOURCE-v${VERSION}.tar.gz" |
slaxemulator@7408 | 11 WEB_SITE="http://sdl.perl.org" |
slaxemulator@7408 | 12 WGET_URL="http://search.cpan.org/CPAN/authors/id/K/KT/KTHAKORE/$TARBALL" |
slaxemulator@7408 | 13 |
pascal@13796 | 14 DEPENDS="xorg libglu-mesa mesa libsdl libsdl-gfx libsdl-image libsdl-mixer \ |
pascal@13796 | 15 libsdl-net libsmpeg libsdl-ttf" |
pascal@13796 | 16 BUILD_DEPENDS="perl-yaml xorg-dev libglu-mesa libglu-mesa-dev mesa-dev \ |
pascal@13796 | 17 libsdl-dev libsdl-gfx-dev libsdl-image-dev libsdl-mixer-dev libsdl-net-dev \ |
pascal@13796 | 18 libsdl-ttf-dev" |
pascal@13796 | 19 |
slaxemulator@7408 | 20 # Rules to configure and make the package. |
slaxemulator@7408 | 21 compile_rules() |
slaxemulator@7408 | 22 { |
slaxemulator@7408 | 23 cd $src |
pascal@13796 | 24 perl Build.PL destdir="$DESTDIR" && |
slaxemulator@7408 | 25 perl Build && |
slaxemulator@7408 | 26 perl Build install |
slaxemulator@7408 | 27 } |
slaxemulator@7408 | 28 |
slaxemulator@7408 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7408 | 30 genpkg_rules() |
slaxemulator@7408 | 31 { |
slaxemulator@7408 | 32 mkdir -p $fs/usr |
pascal@13796 | 33 cp -a $install/usr/lib $fs/usr |
slaxemulator@7408 | 34 } |
slaxemulator@7408 | 35 |