wok-6.x annotate pcsxr-svn/receipt @ rev 25419

Up bzip3 (1.1.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 06 11:13:43 2022 +0000 (2022-08-06)
parents 34e801e0eb52
children
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"
pascal@20683 9 WEB_SITE="https://github.com/iCatButler/pcsxr"
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
pascal@24497 20 # What is the latest version available today?
pascal@24497 21 current_version()
pascal@24497 22 {
pascal@24497 23 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
pascal@24974 24 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
pascal@24497 25 }
pascal@24497 26
slaxemulator@6801 27 # Rules to configure and make the package.
slaxemulator@6801 28 compile_rules()
slaxemulator@6801 29 {
slaxemulator@8116 30 cd $src
slaxemulator@8116 31 ./autogen.sh \
slaxemulator@6801 32 --prefix=/usr \
slaxemulator@6801 33 --infodir=/usr/share/info \
slaxemulator@6801 34 --mandir=/usr/share/man \
slaxemulator@6801 35 --enable-libcdio \
slaxemulator@6801 36 --enable-opengl \
slaxemulator@6801 37 $CONFIGURE_ARGS &&
pascal@13796 38 make && make DESTDIR=$DESTDIR install
slaxemulator@6801 39 }
slaxemulator@6801 40
slaxemulator@6801 41 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6801 42 genpkg_rules()
slaxemulator@6801 43 {
slaxemulator@6801 44 mkdir -p $fs/usr/share
pascal@13796 45 cp -a $install/usr/bin $fs/usr
pascal@13796 46 cp -a $install/usr/lib $fs/usr
pascal@13796 47 cp -a $install/usr/share/pixmaps $fs/usr/share
pascal@13796 48 cp -a $install/usr/share/psemu $fs/usr/share
pascal@13796 49 cp -a $install/usr/share/pcsx $fs/usr/share
slaxemulator@6801 50 find $fs/usr/lib -name "*.la" -delete
slaxemulator@6801 51 }
slaxemulator@6801 52