wok-next diff pcsxr-svn/receipt @ rev 14507

Add get-src2pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 14 07:26:31 2013 +0200 (2013-05-14)
parents acc895d89f9c
children 7896f0694ef6
line diff
     1.1 --- a/pcsxr-svn/receipt	Fri Jun 15 18:25:33 2012 +0200
     1.2 +++ b/pcsxr-svn/receipt	Tue May 14 07:26:31 2013 +0200
     1.3 @@ -5,16 +5,17 @@
     1.4  CATEGORY="games"
     1.5  SHORT_DESC="A Sony PlayStation emulator based on the PCSX-df Project"
     1.6  MAINTAINER="slaxemulator@gmail.com"
     1.7 -DEPENDS="libcdio libglade xorg-libXtst xorg-libXv mesa libsdl"
     1.8 -BUILD_DEPENDS="glib-dev libcdio libcdio-dev libglade-dev gtk+-dev xorg-libXtst xorg-libXtst-dev xorg-libXv xorg-libXv-dev mesa-dev \
     1.9 -zlib-dev libsdl libsdl-dev subversion nasm gettext intltool sed lzma \
    1.10 -autoconf automake libtool"
    1.11  WEB_SITE="http://pcsxr.codeplex.com/"
    1.12  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13  WGET_URL="subversion|https://pcsxr.svn.codeplex.com/svn/pcsxr"
    1.14  BRANCH="$VERSION"
    1.15  TAGS="emulator playstation"
    1.16  
    1.17 +DEPENDS="libcdio libglade xorg-libXtst xorg-libXv mesa libsdl"
    1.18 +BUILD_DEPENDS="glib-dev libcdio libcdio-dev libglade-dev gtk+-dev xorg-libXtst xorg-libXtst-dev xorg-libXv xorg-libXv-dev mesa-dev \
    1.19 +zlib-dev libsdl libsdl-dev subversion nasm gettext intltool sed lzma \
    1.20 +autoconf automake libtool"
    1.21 +
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 @@ -26,18 +27,18 @@
    1.26  		--enable-libcdio \
    1.27  		--enable-opengl \
    1.28  		$CONFIGURE_ARGS &&
    1.29 -	make && make DESTDIR=$PWD/_pkg install
    1.30 +	make && make DESTDIR=$DESTDIR install
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36  	mkdir -p $fs/usr/share
    1.37 -	cp -a $_pkg/usr/bin $fs/usr
    1.38 -	cp -a $_pkg/usr/lib $fs/usr
    1.39 -	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    1.40 -	cp -a $_pkg/usr/share/psemu $fs/usr/share
    1.41 -	cp -a $_pkg/usr/share/pcsx $fs/usr/share
    1.42 +	cp -a $install/usr/bin $fs/usr
    1.43 +	cp -a $install/usr/lib $fs/usr
    1.44 +	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.45 +	cp -a $install/usr/share/psemu $fs/usr/share
    1.46 +	cp -a $install/usr/share/pcsx $fs/usr/share
    1.47  	find $fs/usr/lib -name "*.la" -delete
    1.48  }
    1.49