wok-6.x annotate pcsxr-svn/receipt @ rev 14328
Up: enlightenment (0.17.2.1)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Fri Apr 12 19:23:54 2013 +0200 (2013-04-12) |
parents | acc895d89f9c |
children | 7896f0694ef6 |
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 WEB_SITE="http://pcsxr.codeplex.com/" |
pascal@13045 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
gokhlayeh@8571 | 10 WGET_URL="subversion|https://pcsxr.svn.codeplex.com/svn/pcsxr" |
gokhlayeh@8571 | 11 BRANCH="$VERSION" |
pascal@13041 | 12 TAGS="emulator playstation" |
slaxemulator@6801 | 13 |
pascal@13796 | 14 DEPENDS="libcdio libglade xorg-libXtst xorg-libXv mesa libsdl" |
pascal@13796 | 15 BUILD_DEPENDS="glib-dev libcdio libcdio-dev libglade-dev gtk+-dev xorg-libXtst xorg-libXtst-dev xorg-libXv xorg-libXv-dev mesa-dev \ |
pascal@13796 | 16 zlib-dev libsdl libsdl-dev subversion nasm gettext intltool sed lzma \ |
pascal@13796 | 17 autoconf automake libtool" |
pascal@13796 | 18 |
slaxemulator@6801 | 19 # Rules to configure and make the package. |
slaxemulator@6801 | 20 compile_rules() |
slaxemulator@6801 | 21 { |
slaxemulator@8116 | 22 cd $src |
slaxemulator@8116 | 23 ./autogen.sh \ |
slaxemulator@6801 | 24 --prefix=/usr \ |
slaxemulator@6801 | 25 --infodir=/usr/share/info \ |
slaxemulator@6801 | 26 --mandir=/usr/share/man \ |
slaxemulator@6801 | 27 --enable-libcdio \ |
slaxemulator@6801 | 28 --enable-opengl \ |
slaxemulator@6801 | 29 $CONFIGURE_ARGS && |
pascal@13796 | 30 make && make DESTDIR=$DESTDIR install |
slaxemulator@6801 | 31 } |
slaxemulator@6801 | 32 |
slaxemulator@6801 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6801 | 34 genpkg_rules() |
slaxemulator@6801 | 35 { |
slaxemulator@6801 | 36 mkdir -p $fs/usr/share |
pascal@13796 | 37 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 38 cp -a $install/usr/lib $fs/usr |
pascal@13796 | 39 cp -a $install/usr/share/pixmaps $fs/usr/share |
pascal@13796 | 40 cp -a $install/usr/share/psemu $fs/usr/share |
pascal@13796 | 41 cp -a $install/usr/share/pcsx $fs/usr/share |
slaxemulator@6801 | 42 find $fs/usr/lib -name "*.la" -delete |
slaxemulator@6801 | 43 } |
slaxemulator@6801 | 44 |