wok view pcsxr-svn/receipt @ rev 9713

glibc: make it built with cookutils
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 08 23:21:20 2011 +0200 (2011-05-08)
parents 0740a7e6c9ad
children a0250385f2a5
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 WEB_SITE="http://pcsxr.codeplex.com/"
12 WGET_URL="subversion|https://pcsxr.svn.codeplex.com/svn/pcsxr"
13 BRANCH="$VERSION"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./autogen.sh \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --enable-libcdio \
24 --enable-opengl \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib $fs/usr
35 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
36 cp -a $_pkg/usr/share/psemu $fs/usr/share
37 cp -a $_pkg/usr/share/pcsx $fs/usr/share
38 find $fs/usr/lib -name "*.la" -delete
39 }