wok-6.x view zsnes/receipt @ rev 14329
Up: connman (1.12)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Fri Apr 12 19:56:50 2013 +0200 (2013-04-12) |
parents | 6b09507225ec |
children | 78cb1e930abd |
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 TARBALL="zsnes151src.tar.bz2"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 TAGS="emulator nintendo snes"
13 DEPENDS="gcc-lib-base libsdl libpng ncurses mesa zlib"
14 BUILD_DEPENDS="$DEPENDS nasm libsdl-dev libpng-dev ncurses-dev mesa-dev automake autoconf zlib-dev patch"
16 # Rules to configure and make the package.
18 compile_rules() {
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=$ARCH \
26 $CONFIGURE_ARGS &&
27 make &&
28 make -j 1 install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $src/src/zsnes $fs/usr/bin
36 }