wok-current view zsnes/receipt @ rev 13855
slitaz-menus: make System category less strict
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 10 01:26:02 2013 +0000 (2013-01-10) |
parents | a0250385f2a5 |
children | 8437ad3ae814 |
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=i486 \
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 }