wok annotate mupen64plus/receipt @ rev 20466
fusioninventory-agenti: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 11 13:32:26 2018 +0200 (2018-10-11) |
parents | 3705d68ed8f3 |
children | 6563992d0700 |
rev | line source |
---|---|
slaxemulator@6800 | 1 # SliTaz package receipt. |
slaxemulator@6800 | 2 |
slaxemulator@6800 | 3 PACKAGE="mupen64plus" |
al@18573 | 4 VERSION="2.5" |
slaxemulator@6800 | 5 CATEGORY="games" |
slaxemulator@6800 | 6 SHORT_DESC="Nintendo64 Emulator" |
slaxemulator@6800 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15583 | 8 LICENSE="GPL2" |
al@18573 | 9 TARBALL="$PACKAGE-bundle-src-$VERSION.tar.gz" |
al@18573 | 10 WEB_SITE="http://www.mupen64plus.org/" |
al@18573 | 11 WGET_URL="https://github.com/mupen64plus/mupen64plus-core/releases/download/$VERSION/$TARBALL" |
pascal@13041 | 12 TAGS="emulator nintendo64" |
slaxemulator@6800 | 13 |
al@18573 | 14 DEPENDS="bzlib freetype libboost-filesystem libglu-mesa libsamplerate libsdl \ |
al@18573 | 15 speex" |
al@18573 | 16 BUILD_DEPENDS="gtk+-dev libboost-filesystem-dev libglu-mesa libglu-mesa-dev \ |
al@18573 | 17 libsamplerate-dev libsdl-dev libsdl-ttf-dev mesa-dev speex-dev yasm zlib-dev" |
pascal@13796 | 18 |
slaxemulator@6800 | 19 # Rules to configure and make the package. |
slaxemulator@6800 | 20 compile_rules() |
slaxemulator@6800 | 21 { |
pascal@20214 | 22 find $src -name Makefile | xargs sed -i 's|uname -m|echo i486|' |
al@18573 | 23 export PREFIX=/usr DESTDIR=$install |
al@18573 | 24 ./m64p_build.sh && |
al@18573 | 25 ./m64p_install.sh |
slaxemulator@6800 | 26 } |
slaxemulator@6800 | 27 |
slaxemulator@6800 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6800 | 29 genpkg_rules() |
slaxemulator@6800 | 30 { |
al@18573 | 31 cp -a $install/* $fs |
al@18573 | 32 rm -r $fs/usr/include |
al@18573 | 33 find $fs -name '*.so*' -exec chmod a+x \{\} \; |
slaxemulator@6800 | 34 } |