wok-next view pcsxr-svn/receipt @ rev 14905

tazdrop: try to fix (need pre-generate .mo files)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jul 31 20:36:06 2013 +0300 (2013-07-31)
parents acc895d89f9c
children 7896f0694ef6
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 WEB_SITE="http://pcsxr.codeplex.com/"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WGET_URL="subversion|https://pcsxr.svn.codeplex.com/svn/pcsxr"
11 BRANCH="$VERSION"
12 TAGS="emulator playstation"
14 DEPENDS="libcdio libglade xorg-libXtst xorg-libXv mesa libsdl"
15 BUILD_DEPENDS="glib-dev libcdio libcdio-dev libglade-dev gtk+-dev xorg-libXtst xorg-libXtst-dev xorg-libXv xorg-libXv-dev mesa-dev \
16 zlib-dev libsdl libsdl-dev subversion nasm gettext intltool sed lzma \
17 autoconf automake libtool"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./autogen.sh \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 --enable-libcdio \
28 --enable-opengl \
29 $CONFIGURE_ARGS &&
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 cp -a $install/usr/share/pixmaps $fs/usr/share
40 cp -a $install/usr/share/psemu $fs/usr/share
41 cp -a $install/usr/share/pcsx $fs/usr/share
42 find $fs/usr/lib -name "*.la" -delete
43 }