wok-6.x view pcsxr-svn/receipt @ rev 10049

wget: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 03:56:23 2011 +0000 (2011-05-20)
parents 0740a7e6c9ad
children a0250385f2a5
line source
1 # SliTaz package receipt.
3 PACKAGE="pcsxr-svn"
4 VERSION="62214"
5 CATEGORY="games"
6 SHORT_DESC="A Sony PlayStation emulator based on the PCSX-df Project"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="libcdio libglade xorg-libXtst xorg-libXv mesa libsdl"
9 BUILD_DEPENDS="glib-dev libcdio libcdio-dev libglade-dev gtk+-dev xorg-libXtst xorg-libXtst-dev xorg-libXv xorg-libXv-dev mesa-dev \
10 zlib-dev libsdl libsdl-dev subversion nasm gettext intltool sed lzma"
11 WEB_SITE="http://pcsxr.codeplex.com/"
12 WGET_URL="subversion|https://pcsxr.svn.codeplex.com/svn/pcsxr"
13 BRANCH="$VERSION"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./autogen.sh \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --enable-libcdio \
24 --enable-opengl \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib $fs/usr
35 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
36 cp -a $_pkg/usr/share/psemu $fs/usr/share
37 cp -a $_pkg/usr/share/pcsx $fs/usr/share
38 find $fs/usr/lib -name "*.la" -delete
39 }