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