wok view zsnes/receipt @ rev 17343

Add xgalaga++
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 06 11:52:47 2014 +0100 (2014-11-06)
parents 8437ad3ae814
children 3ba8d2c9720d
line source
1 # SliTaz package receipt.
3 PACKAGE="zsnes"
4 VERSION="1.51"
5 CATEGORY="games"
6 MAINTAINER="slaxemulator@gmail.com"
7 LICENSE="GPL2"
8 SHORT_DESC="Super Nintendo emulator"
9 WEB_SITE="http://www.zsnes.com/"
10 TARBALL="zsnes151src.tar.bz2"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="emulator nintendo snes"
14 DEPENDS="gcc-lib-base libsdl libpng ncurses mesa zlib"
15 BUILD_DEPENDS="$DEPENDS nasm libsdl-dev libpng-dev ncurses-dev mesa-dev automake autoconf zlib-dev patch"
17 # Rules to configure and make the package.
19 compile_rules() {
20 cd $src
21 patch -p1 -i $stuff/zsnes.patch
22 cd $src/src
23 ./configure --prefix=/usr \
24 --x-libraries=/usr/lib \
25 --enable-release \
26 force_arch=$ARCH \
27 $CONFIGURE_ARGS &&
28 make &&
29 make -j 1 install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 cp -a $src/src/zsnes $fs/usr/bin
37 }