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