wok-6.x view zsnes/receipt @ rev 18944
Up: vlc (2.2.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 16:53:03 2016 +0100 (2016-03-03) |
parents | 78cb1e930abd |
children | 762b649a4d73 |
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 export LDFLAGS="$LDFLAGS -ltinfo"
21 cd $src
22 patch -p1 -i $stuff/zsnes.patch
23 cd $src/src
24 ./configure --prefix=/usr \
25 --x-libraries=/usr/lib \
26 --enable-release \
27 force_arch=$ARCH \
28 $CONFIGURE_ARGS &&
29 make &&
30 make -j 1 install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 cp -a $src/src/zsnes $fs/usr/bin
38 }