SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "mupen64plus"

# SliTaz package receipt.

PACKAGE="mupen64plus"
VERSION="2.5.9"
CATEGORY="games"
TAGS="emulator nintendo64"
SHORT_DESC="Nintendo64 Emulator"
MAINTAINER="slaxemulator@gmail.com"
LICENSE="GPL2"
WEB_SITE="http://www.mupen64plus.org/"

TARBALL="$PACKAGE-bundle-src-$VERSION.tar.gz"
WGET_URL="https://github.com/mupen64plus/mupen64plus-core/releases/download/$VERSION/$TARBALL"

DEPENDS="bzlib freetype libboost-filesystem libglu-mesa libsamplerate libsdl2 
    speex"
BUILD_DEPENDS="gtk+-dev libboost-filesystem-dev libglu-mesa libglu-mesa-dev 
    libsamplerate-dev libsdl2-dev libsdl-ttf-dev mesa-dev nasm speex-dev 
    yasm zlib-dev"

current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
}

compile_rules()
{
    find $src -name Makefile | xargs sed -i 's|uname -m|echo i486|'
    export    PREFIX=/usr
    export    DESTDIR=$install

    ./m64p_build.sh &&
    ./m64p_install.sh
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/*    $fs
    rm -r            $fs/usr/include
    find $fs -name '*.so*' -exec chmod a+x \{\} \;
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)