wok view mupen64plus/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 5ea0ce1cecc0 |
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 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
25 sed '/tag\//!d;/nightly/d;s|.*tag/v*||;s|".*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 find $src -name Makefile | xargs sed -i 's|uname -m|echo i486|'
32 export PREFIX=/usr
33 export DESTDIR=$install
35 ./m64p_build.sh &&
36 ./m64p_install.sh
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cp -a $install/* $fs
43 rm -r $fs/usr/include
44 find $fs -name '*.so*' -exec chmod a+x \{\} \;
45 }