wok-6.x view mupen64plus/receipt @ rev 24985
Add python-future
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 10 07:46:58 2022 +0000 (2022-05-10) |
parents | 6563992d0700 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="mupen64plus"
4 VERSION="2.5.9"
5 CATEGORY="games"
6 TAGS="emulator nintendo64"
7 SHORT_DESC="Nintendo64 Emulator"
8 MAINTAINER="slaxemulator@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.mupen64plus.org/"
12 TARBALL="$PACKAGE-bundle-src-$VERSION.tar.gz"
13 WGET_URL="https://github.com/mupen64plus/mupen64plus-core/releases/download/$VERSION/$TARBALL"
15 DEPENDS="bzlib freetype libboost-filesystem libglu-mesa libsamplerate libsdl2
16 speex"
17 BUILD_DEPENDS="gtk+-dev libboost-filesystem-dev libglu-mesa libglu-mesa-dev
18 libsamplerate-dev libsdl2-dev libsdl-ttf-dev mesa-dev nasm speex-dev
19 yasm zlib-dev"
21 current_version()
22 {
23 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
25 }
27 compile_rules()
28 {
29 find $src -name Makefile | xargs sed -i 's|uname -m|echo i486|'
30 export PREFIX=/usr
31 export DESTDIR=$install
33 ./m64p_build.sh &&
34 ./m64p_install.sh
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 rm -r $fs/usr/include
42 find $fs -name '*.so*' -exec chmod a+x \{\} \;
43 }