wok diff libsdl-perl/receipt @ rev 14490

Up: ophcrack (3.5.0)
author Cedric Tissieres <slitaz@objectif-securite.ch>
date Fri May 03 14:38:26 2013 +0200 (2013-05-03)
parents be13f25e790b
children 6eff489aa802
line diff
     1.1 --- a/libsdl-perl/receipt	Sun Feb 20 06:53:59 2011 +0000
     1.2 +++ b/libsdl-perl/receipt	Fri May 03 14:38:26 2013 +0200
     1.3 @@ -5,18 +5,22 @@
     1.4  CATEGORY="x-window"
     1.5  SHORT_DESC="SDL perl support."
     1.6  MAINTAINER="slaxemulator@gmail.com"
     1.7 -DEPENDS="xorg libglu-mesa mesa libsdl libsdl-gfx libsdl-image libsdl-mixer libsdl-net libsmpeg libsdl-ttf"
     1.8 -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.9  SOURCE="SDL_Perl"
    1.10  TARBALL="$SOURCE-v${VERSION}.tar.gz"
    1.11  WEB_SITE="http://sdl.perl.org"
    1.12  WGET_URL="http://search.cpan.org/CPAN/authors/id/K/KT/KTHAKORE/$TARBALL"
    1.13  
    1.14 +DEPENDS="xorg libglu-mesa mesa libsdl libsdl-gfx libsdl-image libsdl-mixer \
    1.15 +libsdl-net libsmpeg libsdl-ttf"
    1.16 +BUILD_DEPENDS="perl-yaml xorg-dev libglu-mesa libglu-mesa-dev mesa-dev \
    1.17 +libsdl-dev libsdl-gfx-dev libsdl-image-dev libsdl-mixer-dev libsdl-net-dev \
    1.18 +libsdl-ttf-dev"
    1.19 +
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23  	cd $src
    1.24 -	perl Build.PL destdir="$PWD/_pkg" &&
    1.25 +	perl Build.PL destdir="$DESTDIR" &&
    1.26  	perl Build &&
    1.27  	perl Build install
    1.28  }
    1.29 @@ -25,6 +29,6 @@
    1.30  genpkg_rules()
    1.31  {
    1.32  	mkdir -p $fs/usr
    1.33 -	cp -a $_pkg/usr/lib $fs/usr
    1.34 +	cp -a $install/usr/lib $fs/usr
    1.35  }
    1.36