wok-4.x annotate 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 |
rev | line source |
---|---|
slaxemulator@6391 | 1 # SliTaz package receipt. |
slaxemulator@6391 | 2 |
slaxemulator@6391 | 3 PACKAGE="zsnes" |
slaxemulator@6391 | 4 VERSION="1.51" |
slaxemulator@6391 | 5 CATEGORY="games" |
slaxemulator@6391 | 6 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@6391 | 7 SHORT_DESC="Super Nintendo emulator" |
slaxemulator@6391 | 8 WEB_SITE="http://www.zsnes.com/" |
slaxemulator@6391 | 9 DEPENDS="gcc-lib-base libsdl libpng ncurses mesa zlib" |
slaxemulator@6391 | 10 BUILD_DEPENDS="$DEPENDS nasm libsdl-dev libpng-dev ncurses-dev mesa-dev automake autoconf zlib-dev patch" |
slaxemulator@6391 | 11 TARBALL="zsnes151src.tar.bz2" |
slaxemulator@6391 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@6391 | 13 TAGS="snes" |
slaxemulator@6391 | 14 |
slaxemulator@6391 | 15 # Rules to configure and make the package. |
slaxemulator@6391 | 16 |
slaxemulator@6391 | 17 compile_rules() { |
slaxemulator@6391 | 18 src=$WOK/$PACKAGE/${PACKAGE}_1_51/ |
slaxemulator@6391 | 19 cd $src |
slaxemulator@6391 | 20 patch -p1 -i ../stuff/zsnes.patch |
slaxemulator@6391 | 21 cd $src/src |
slaxemulator@6391 | 22 ./configure --prefix=/usr \ |
slaxemulator@6391 | 23 --x-libraries=/usr/lib \ |
slaxemulator@6391 | 24 --enable-release \ |
slaxemulator@6391 | 25 force_arch=i486 \ |
slaxemulator@6391 | 26 $CONFIGURE_ARGS && |
slaxemulator@6391 | 27 make -j 4 |
slaxemulator@6391 | 28 } |
slaxemulator@6391 | 29 |
slaxemulator@6391 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6391 | 31 genpkg_rules() |
slaxemulator@6391 | 32 { |
slaxemulator@6391 | 33 src=$WOK/$PACKAGE/${PACKAGE}_1_51 |
slaxemulator@6391 | 34 mkdir -p $fs/usr/share/applications \ |
slaxemulator@6391 | 35 $fs/usr/share/pixmaps \ |
slaxemulator@6391 | 36 $fs/usr/bin |
slaxemulator@6391 | 37 cp -a $src/src/zsnes $fs/usr/bin |
slaxemulator@6391 | 38 cp $WOK/$PACKAGE/stuff/zsnes.desktop $fs/usr/share/applications |
slaxemulator@6391 | 39 cp $WOK/$PACKAGE/stuff/zsnes_icon.png $fs/usr/share/pixmaps |
slaxemulator@6391 | 40 } |