wok-6.x annotate mupen64plus/receipt @ rev 23855
Up dropbear (2020.79), nagios (4.4.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 16 20:15:47 2020 +0000 (2020-06-16) |
parents | 238f49914432 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
slaxemulator@6800 | 1 # SliTaz package receipt. |
slaxemulator@6800 | 2 |
slaxemulator@6800 | 3 PACKAGE="mupen64plus" |
Hans-G?nter@23204 | 4 VERSION="2.5.9" |
slaxemulator@6800 | 5 CATEGORY="games" |
Hans-G?nter@23204 | 6 TAGS="emulator nintendo64" |
slaxemulator@6800 | 7 SHORT_DESC="Nintendo64 Emulator" |
slaxemulator@6800 | 8 MAINTAINER="slaxemulator@gmail.com" |
pascal@15583 | 9 LICENSE="GPL2" |
Hans-G?nter@23204 | 10 WEB_SITE="http://www.mupen64plus.org/" |
Hans-G?nter@23204 | 11 |
al@18573 | 12 TARBALL="$PACKAGE-bundle-src-$VERSION.tar.gz" |
al@18573 | 13 WGET_URL="https://github.com/mupen64plus/mupen64plus-core/releases/download/$VERSION/$TARBALL" |
slaxemulator@6800 | 14 |
Hans-G?nter@23204 | 15 DEPENDS="bzlib freetype libboost-filesystem libglu-mesa libsamplerate libsdl2 |
Hans-G?nter@23204 | 16 speex" |
Hans-G?nter@23204 | 17 BUILD_DEPENDS="gtk+-dev libboost-filesystem-dev libglu-mesa libglu-mesa-dev |
Hans-G?nter@23204 | 18 libsamplerate-dev libsdl2-dev libsdl-ttf-dev mesa-dev nasm speex-dev |
Hans-G?nter@23204 | 19 yasm zlib-dev" |
pascal@13796 | 20 |
slaxemulator@6800 | 21 # Rules to configure and make the package. |
slaxemulator@6800 | 22 compile_rules() |
slaxemulator@6800 | 23 { |
pascal@20214 | 24 find $src -name Makefile | xargs sed -i 's|uname -m|echo i486|' |
Hans-G?nter@23204 | 25 export PREFIX=/usr |
Hans-G?nter@23204 | 26 export DESTDIR=$install |
Hans-G?nter@23204 | 27 |
al@18573 | 28 ./m64p_build.sh && |
al@18573 | 29 ./m64p_install.sh |
slaxemulator@6800 | 30 } |
slaxemulator@6800 | 31 |
slaxemulator@6800 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6800 | 33 genpkg_rules() |
slaxemulator@6800 | 34 { |
Hans-G?nter@23204 | 35 cp -a $install/* $fs |
Hans-G?nter@23204 | 36 rm -r $fs/usr/include |
al@18573 | 37 find $fs -name '*.so*' -exec chmod a+x \{\} \; |
slaxemulator@6800 | 38 } |