wok view mupen64plus/receipt @ rev 22005

added tar-lang 1.32
author Hans-G?nter Theisgen
date Fri Oct 18 17:38:24 2019 +0100 (2019-10-18)
parents 3705d68ed8f3
children 6563992d0700
line source
1 # SliTaz package receipt.
3 PACKAGE="mupen64plus"
4 VERSION="2.5"
5 CATEGORY="games"
6 SHORT_DESC="Nintendo64 Emulator"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-bundle-src-$VERSION.tar.gz"
10 WEB_SITE="http://www.mupen64plus.org/"
11 WGET_URL="https://github.com/mupen64plus/mupen64plus-core/releases/download/$VERSION/$TARBALL"
12 TAGS="emulator nintendo64"
14 DEPENDS="bzlib freetype libboost-filesystem libglu-mesa libsamplerate libsdl \
15 speex"
16 BUILD_DEPENDS="gtk+-dev libboost-filesystem-dev libglu-mesa libglu-mesa-dev \
17 libsamplerate-dev libsdl-dev libsdl-ttf-dev mesa-dev speex-dev yasm zlib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 find $src -name Makefile | xargs sed -i 's|uname -m|echo i486|'
23 export PREFIX=/usr DESTDIR=$install
24 ./m64p_build.sh &&
25 ./m64p_install.sh
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/* $fs
32 rm -r $fs/usr/include
33 find $fs -name '*.so*' -exec chmod a+x \{\} \;
34 }