wok-stable diff libsdl-perl/receipt @ rev 8273
Fixed xorg-imake depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 30 03:08:26 2011 +0000 (2011-01-30) |
parents | |
children | be13f25e790b |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libsdl-perl/receipt Sun Jan 30 03:08:26 2011 +0000 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libsdl-perl" 1.7 +VERSION="2.2.6" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="SDL perl support." 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="xorg libglu-mesa mesa libsdl libsdl-gfx libsdl-image libsdl-mixer libsdl-net libsmpeg libsdl-ttf" 1.12 +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" 1.13 +SOURCE="SDL_Perl" 1.14 +TARBALL="$SOURCE-v${VERSION}.tar.gz" 1.15 +WEB_SITE="http://sdl.perl.org" 1.16 +WGET_URL="http://search.cpan.org/CPAN/authors/id/K/KT/KTHAKORE/$TARBALL" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + src=$WOK/$PACKAGE/$SOURCE-v${VERSION} 1.22 + cd $src 1.23 + perl Build.PL destdir="$PWD/_pkg" && 1.24 + perl Build && 1.25 + perl Build install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + _pkg=$WOK/$PACKAGE/$SOURCE-v${VERSION}/_pkg 1.32 + mkdir -p $fs/usr 1.33 + cp -a $_pkg/usr/lib $fs/usr 1.34 +} 1.35 +