wok-current view zsnes/receipt @ rev 13352

Add perl-io-tty, perl-io-stty, perl-number-range, perl-expect, perl-algorithm-permute
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 10 09:49:31 2012 +0200 (2012-09-10)
parents 2eaf8be7c595
children 6b09507225ec
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="emulator nintendo snes"
15 # Rules to configure and make the package.
17 compile_rules() {
18 cd $src
19 patch -p1 -i $stuff/zsnes.patch
20 cd $src/src
21 ./configure --prefix=/usr \
22 --x-libraries=/usr/lib \
23 --enable-release \
24 force_arch=i486 \
25 $CONFIGURE_ARGS &&
26 make &&
27 make -j 1 install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $src/src/zsnes $fs/usr/bin
35 }