wok-6.x view pcsxr-svn/receipt @ rev 25506
memtest, pack: cleanup
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 09 16:28:01 2023 +0000 (21 months ago) |
parents | 34e801e0eb52 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="pcsxr-svn"
4 VERSION="62214"
5 CATEGORY="games"
6 SHORT_DESC="A Sony PlayStation emulator based on the PCSX-df Project"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/iCatButler/pcsxr"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="subversion|https://pcsxr.svn.codeplex.com/svn/pcsxr"
12 BRANCH="$VERSION"
13 TAGS="emulator playstation"
15 DEPENDS="libcdio libglade xorg-libXtst xorg-libXv mesa libsdl"
16 BUILD_DEPENDS="glib-dev libcdio libcdio-dev libglade-dev gtk+-dev xorg-libXtst xorg-libXtst-dev xorg-libXv xorg-libXv-dev mesa-dev \
17 zlib-dev libsdl libsdl-dev subversion nasm gettext intltool sed lzma \
18 autoconf automake libtool"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
24 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 cd $src
31 ./autogen.sh \
32 --prefix=/usr \
33 --infodir=/usr/share/info \
34 --mandir=/usr/share/man \
35 --enable-libcdio \
36 --enable-opengl \
37 $CONFIGURE_ARGS &&
38 make && make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib $fs/usr
47 cp -a $install/usr/share/pixmaps $fs/usr/share
48 cp -a $install/usr/share/psemu $fs/usr/share
49 cp -a $install/usr/share/pcsx $fs/usr/share
50 find $fs/usr/lib -name "*.la" -delete
51 }