wok-current view pcsxr-svn/receipt @ rev 7552
Added gobject-introspection support to libwnck.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Dec 08 10:29:51 2010 +0000 (2010-12-08) |
parents | 75a5178e04be |
children | 0307e0345907 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pcsxr-svn"
4 VERSION="60142"
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 xorg-libXtst xorg-libXtst-dev xorg-libXv xorg-libXv-dev mesa-dev \
10 zlib-dev libsdl libsdl-dev subversion nasm gettext"
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.gz
18 if [ -f $TARBALL ]; then
19 tar xzf $TARBALL
20 else
21 echo "Cloning revision $VERSION from subversion repository..."
22 echo "t" | svn co https://pcsxr.svn.codeplex.com/svn -r $VERSION $PACKAGE-$VERSION
23 tar czf $TARBALL $PACKAGE-$VERSION
24 fi
25 cd $src/pcsxr
26 ./configure \
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 _pkg=$WOK/$PACKAGE/$PACKAGE-$VERSION/pcsxr/_pkg
40 mkdir -p $fs/usr/share
41 cp -a $_pkg/usr/bin $fs/usr
42 cp -a $_pkg/usr/lib $fs/usr
43 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
44 cp -a $_pkg/usr/share/psemu $fs/usr/share
45 cp -a $_pkg/usr/share/pcsx $fs/usr/share
46 find $fs/usr/lib -name "*.la" -delete
47 }