wok view pcsxr-svn/receipt @ rev 8111

Fixed pcsxr-svn to use the real tar and not busybox tar.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 23 15:36:07 2011 +0000 (2011-01-23)
parents 0307e0345907
children f1ecfb5a8252
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 xorg-libXtst xorg-libXtst-dev xorg-libXv xorg-libXv-dev mesa-dev \
10 zlib-dev libsdl libsdl-dev subversion nasm gettext tar"
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 [ -L /bin/tar ] && tazpkg get-install tar --forced
19 if [ -f $TARBALL ]; then
20 tar -xf $TARBALL
21 else
22 echo "Cloning revision $VERSION from subversion repository..."
23 echo "t" | svn co https://pcsxr.svn.codeplex.com/svn -r $VERSION $PACKAGE-$VERSION
24 tar -c --lzma -f $TARBALL $PACKAGE-$VERSION
25 fi
26 cd $src/pcsxr
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 --enable-libcdio \
32 --enable-opengl \
33 $CONFIGURE_ARGS &&
34 make && make DESTDIR=$PWD/_pkg install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 _pkg=$WOK/$PACKAGE/$PACKAGE-$VERSION/pcsxr/_pkg
41 mkdir -p $fs/usr/share
42 cp -a $_pkg/usr/bin $fs/usr
43 cp -a $_pkg/usr/lib $fs/usr
44 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
45 cp -a $_pkg/usr/share/psemu $fs/usr/share
46 cp -a $_pkg/usr/share/pcsx $fs/usr/share
47 find $fs/usr/lib -name "*.la" -delete
48 }