wok annotate mupen64plus/receipt @ rev 25147
updated powertop (2.11 -> 2.14)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 15:35:33 2022 +0100 (2022-06-29) |
parents | 6563992d0700 |
children | 7364ffdaaa60 |
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 |
pascal@24055 | 21 current_version() |
pascal@24055 | 22 { |
pascal@24055 | 23 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 24 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 25 } |
pascal@24055 | 26 |
slaxemulator@6800 | 27 compile_rules() |
slaxemulator@6800 | 28 { |
pascal@20214 | 29 find $src -name Makefile | xargs sed -i 's|uname -m|echo i486|' |
Hans-G?nter@23204 | 30 export PREFIX=/usr |
Hans-G?nter@23204 | 31 export DESTDIR=$install |
Hans-G?nter@23204 | 32 |
al@18573 | 33 ./m64p_build.sh && |
al@18573 | 34 ./m64p_install.sh |
slaxemulator@6800 | 35 } |
slaxemulator@6800 | 36 |
slaxemulator@6800 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6800 | 38 genpkg_rules() |
slaxemulator@6800 | 39 { |
Hans-G?nter@23204 | 40 cp -a $install/* $fs |
Hans-G?nter@23204 | 41 rm -r $fs/usr/include |
al@18573 | 42 find $fs -name '*.so*' -exec chmod a+x \{\} \; |
slaxemulator@6800 | 43 } |