wok view pcsxr-svn/receipt @ rev 19635

Up SliTaz projects: cookutils(867), slitaz-base-files(321), slitaz-boot-scripts(437), slitaz-tools(1009), tazbug(95), tazirc(20), tazlito(448), tazpkg(933).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jan 17 17:38:43 2017 +0200 (2017-01-17)
parents 6b09507225ec
children eeba7ab1dffe
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 LICENSE="GPL2"
9 WEB_SITE="http://pcsxr.codeplex.com/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="subversion|https://pcsxr.svn.codeplex.com/svn/pcsxr"
12 BRANCH="$VERSION"
13 TAGS="emulator playstation"
15 DEPENDS="libcdio libglade xorg-libXtst xorg-libXv mesa libsdl"
16 BUILD_DEPENDS="glib-dev libcdio libcdio-dev libglade-dev gtk+-dev xorg-libXtst xorg-libXtst-dev xorg-libXv xorg-libXv-dev mesa-dev \
17 zlib-dev libsdl libsdl-dev subversion nasm gettext intltool sed lzma \
18 autoconf automake libtool"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./autogen.sh \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 --enable-libcdio \
29 --enable-opengl \
30 $CONFIGURE_ARGS &&
31 make && make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/share/pixmaps $fs/usr/share
41 cp -a $install/usr/share/psemu $fs/usr/share
42 cp -a $install/usr/share/pcsx $fs/usr/share
43 find $fs/usr/lib -name "*.la" -delete
44 }