wok-next view pcsxr-svn/receipt @ rev 8327
Up: sqlite to 3.7.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Feb 01 16:50:08 2011 +0000 (2011-02-01) |
parents | cd04ff131018 |
children | e3a55b50358b |
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/"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
17 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.lzma
18 if [ -f $TARBALL ]; then
19 unlzma -c $TARBALL | tar xf -
20 else
21 echo "Cloning revision $VERSION from subversion repository..."
22 echo "t" | svn co https://pcsxr.svn.codeplex.com/svn/pcsxr -r $VERSION $PACKAGE-$VERSION
23 tar cf - $PACKAGE-$VERSION | lzma e $TARBALL -si
24 fi
25 cd $src
26 ./autogen.sh \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 --enable-libcdio \
31 --enable-opengl \
32 $CONFIGURE_ARGS &&
33 make && make DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
40 cp -a $_pkg/usr/bin $fs/usr
41 cp -a $_pkg/usr/lib $fs/usr
42 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
43 cp -a $_pkg/usr/share/psemu $fs/usr/share
44 cp -a $_pkg/usr/share/pcsx $fs/usr/share
45 find $fs/usr/lib -name "*.la" -delete
46 }