wok-4.x diff zsnes/receipt @ rev 6419
Up: lxpanel to 0.5.6. I committed out my patch since it doesn't patch now. I also took battary montor out so lxpanel will build. All other plugins are there.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Sep 26 17:02:23 2010 +0000 (2010-09-26) |
parents | |
children | b1e36b8043ca |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/zsnes/receipt Sun Sep 26 17:02:23 2010 +0000 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="zsnes" 1.7 +VERSION="1.51" 1.8 +CATEGORY="games" 1.9 +MAINTAINER="slaxemulator@gmail.com" 1.10 +SHORT_DESC="Super Nintendo emulator" 1.11 +WEB_SITE="http://www.zsnes.com/" 1.12 +DEPENDS="gcc-lib-base libsdl libpng ncurses mesa zlib" 1.13 +BUILD_DEPENDS="$DEPENDS nasm libsdl-dev libpng-dev ncurses-dev mesa-dev automake autoconf zlib-dev patch" 1.14 +TARBALL="zsnes151src.tar.bz2" 1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.16 +TAGS="snes" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 + 1.20 +compile_rules() { 1.21 + src=$WOK/$PACKAGE/${PACKAGE}_1_51/ 1.22 + cd $src 1.23 + patch -p1 -i ../stuff/zsnes.patch 1.24 + cd $src/src 1.25 + ./configure --prefix=/usr \ 1.26 + --x-libraries=/usr/lib \ 1.27 + --enable-release \ 1.28 + force_arch=i486 \ 1.29 + $CONFIGURE_ARGS && 1.30 + make -j 4 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + src=$WOK/$PACKAGE/${PACKAGE}_1_51 1.37 + mkdir -p $fs/usr/share/applications \ 1.38 + $fs/usr/share/pixmaps \ 1.39 + $fs/usr/bin 1.40 + cp -a $src/src/zsnes $fs/usr/bin 1.41 + cp $WOK/$PACKAGE/stuff/zsnes.desktop $fs/usr/share/applications 1.42 + cp $WOK/$PACKAGE/stuff/zsnes_icon.png $fs/usr/share/pixmaps 1.43 +}