wok-next view zsnes/receipt @ rev 8869
Fix: libgtkimageview TARBALL/WGET_URL... If you had error './configure not found', you have to remove the corrupted tarball from SOURCES_REPOSITORY, named gtkimageview-1.6.4.taz.lzma
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Feb 26 06:06:17 2011 +0100 (2011-02-26) |
parents | d6c6468ad9cf |
children | 940b5937e496 |
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 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 make &&
26 make -j 1 install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $src/src/zsnes $fs/usr/bin
34 }