wok-4.x view zsnes/receipt @ rev 7564

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