wok-6.x view pcsxr-svn/receipt @ rev 13498
Add libaio
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 13 10:52:34 2012 +0200 (2012-10-13) |
parents | a0250385f2a5 |
children | 6b09507225ec |
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 autoconf automake libtool"
12 WEB_SITE="http://pcsxr.codeplex.com/"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WGET_URL="subversion|https://pcsxr.svn.codeplex.com/svn/pcsxr"
15 BRANCH="$VERSION"
16 TAGS="emulator playstation"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./autogen.sh \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --enable-libcdio \
27 --enable-opengl \
28 $CONFIGURE_ARGS &&
29 make && make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/lib $fs/usr
38 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
39 cp -a $_pkg/usr/share/psemu $fs/usr/share
40 cp -a $_pkg/usr/share/pcsx $fs/usr/share
41 find $fs/usr/lib -name "*.la" -delete
42 }