wok annotate pcsxr-svn/receipt @ rev 13336
Up kmod (9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 04 20:54:29 2012 +0200 (2012-09-04) |
parents | a0250385f2a5 |
children | 6b09507225ec |
rev | line source |
---|---|
slaxemulator@6801 | 1 # SliTaz package receipt. |
slaxemulator@6801 | 2 |
slaxemulator@6801 | 3 PACKAGE="pcsxr-svn" |
slaxemulator@8110 | 4 VERSION="62214" |
slaxemulator@6801 | 5 CATEGORY="games" |
slaxemulator@6801 | 6 SHORT_DESC="A Sony PlayStation emulator based on the PCSX-df Project" |
slaxemulator@6801 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@6801 | 8 DEPENDS="libcdio libglade xorg-libXtst xorg-libXv mesa libsdl" |
slaxemulator@8116 | 9 BUILD_DEPENDS="glib-dev libcdio libcdio-dev libglade-dev gtk+-dev xorg-libXtst xorg-libXtst-dev xorg-libXv xorg-libXv-dev mesa-dev \ |
pascal@13045 | 10 zlib-dev libsdl libsdl-dev subversion nasm gettext intltool sed lzma \ |
pascal@13045 | 11 autoconf automake libtool" |
slaxemulator@6801 | 12 WEB_SITE="http://pcsxr.codeplex.com/" |
pascal@13045 | 13 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
gokhlayeh@8571 | 14 WGET_URL="subversion|https://pcsxr.svn.codeplex.com/svn/pcsxr" |
gokhlayeh@8571 | 15 BRANCH="$VERSION" |
pascal@13041 | 16 TAGS="emulator playstation" |
slaxemulator@6801 | 17 |
slaxemulator@6801 | 18 # Rules to configure and make the package. |
slaxemulator@6801 | 19 compile_rules() |
slaxemulator@6801 | 20 { |
slaxemulator@8116 | 21 cd $src |
slaxemulator@8116 | 22 ./autogen.sh \ |
slaxemulator@6801 | 23 --prefix=/usr \ |
slaxemulator@6801 | 24 --infodir=/usr/share/info \ |
slaxemulator@6801 | 25 --mandir=/usr/share/man \ |
slaxemulator@6801 | 26 --enable-libcdio \ |
slaxemulator@6801 | 27 --enable-opengl \ |
slaxemulator@6801 | 28 $CONFIGURE_ARGS && |
slaxemulator@6801 | 29 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@6801 | 30 } |
slaxemulator@6801 | 31 |
slaxemulator@6801 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6801 | 33 genpkg_rules() |
slaxemulator@6801 | 34 { |
slaxemulator@6801 | 35 mkdir -p $fs/usr/share |
slaxemulator@6801 | 36 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6801 | 37 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@6801 | 38 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
slaxemulator@6801 | 39 cp -a $_pkg/usr/share/psemu $fs/usr/share |
slaxemulator@6801 | 40 cp -a $_pkg/usr/share/pcsx $fs/usr/share |
slaxemulator@6801 | 41 find $fs/usr/lib -name "*.la" -delete |
slaxemulator@6801 | 42 } |
slaxemulator@6801 | 43 |