wok-next annotate pcsxr-svn/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 4e6503d7a19f |
children | d5aab818505e |
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/" |
al@20884 | 10 REPOLOGY="pcsxr" |
al@20884 | 11 |
pascal@13045 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
gokhlayeh@8571 | 13 WGET_URL="subversion|https://pcsxr.svn.codeplex.com/svn/pcsxr" |
gokhlayeh@8571 | 14 BRANCH="$VERSION" |
pascal@13041 | 15 TAGS="emulator playstation" |
slaxemulator@6801 | 16 |
pascal@13796 | 17 DEPENDS="libcdio libglade xorg-libXtst xorg-libXv mesa libsdl" |
al@21017 | 18 BUILD_DEPENDS="glib-dev libcdio libcdio-dev libglade-dev gtk2-dev xorg-libXtst xorg-libXtst-dev xorg-libXv xorg-libXv-dev mesa-dev \ |
pascal@13796 | 19 zlib-dev libsdl libsdl-dev subversion nasm gettext intltool sed lzma \ |
pascal@20005 | 20 autoconf automake libtool expat-dev xorg-libxshmfence-dev" |
pascal@13796 | 21 |
slaxemulator@6801 | 22 # Rules to configure and make the package. |
slaxemulator@6801 | 23 compile_rules() |
slaxemulator@6801 | 24 { |
slaxemulator@8116 | 25 ./autogen.sh \ |
slaxemulator@6801 | 26 --prefix=/usr \ |
slaxemulator@6801 | 27 --infodir=/usr/share/info \ |
slaxemulator@6801 | 28 --mandir=/usr/share/man \ |
slaxemulator@6801 | 29 --enable-libcdio \ |
slaxemulator@6801 | 30 --enable-opengl \ |
slaxemulator@6801 | 31 $CONFIGURE_ARGS && |
pascal@13796 | 32 make && make DESTDIR=$DESTDIR install |
slaxemulator@6801 | 33 } |
slaxemulator@6801 | 34 |
slaxemulator@6801 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6801 | 36 genpkg_rules() |
slaxemulator@6801 | 37 { |
slaxemulator@6801 | 38 mkdir -p $fs/usr/share |
pascal@13796 | 39 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 40 cp -a $install/usr/lib $fs/usr |
pascal@13796 | 41 cp -a $install/usr/share/pixmaps $fs/usr/share |
pascal@13796 | 42 cp -a $install/usr/share/psemu $fs/usr/share |
pascal@13796 | 43 cp -a $install/usr/share/pcsx $fs/usr/share |
slaxemulator@6801 | 44 find $fs/usr/lib -name "*.la" -delete |
slaxemulator@6801 | 45 } |