wok-next annotate mupen64plus/receipt @ rev 19132
pcmanfm: add tazpkg-get action
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sun May 15 02:07:14 2016 +0200 (2016-05-15) |
parents | bb009a6ef036 |
children | 2f3aba6cc31e |
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 { |
al@18573 | 22 export PREFIX=/usr DESTDIR=$install |
al@18573 | 23 ./m64p_build.sh && |
al@18573 | 24 ./m64p_install.sh |
slaxemulator@6800 | 25 } |
slaxemulator@6800 | 26 |
slaxemulator@6800 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6800 | 28 genpkg_rules() |
slaxemulator@6800 | 29 { |
al@18573 | 30 cp -a $install/* $fs |
al@18573 | 31 rm -r $fs/usr/include |
al@18573 | 32 find $fs -name '*.so*' -exec chmod a+x \{\} \; |
slaxemulator@6800 | 33 } |