wok-current view zsnes/receipt @ rev 19219
emerald-themes: correct desc
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Jun 17 16:00:57 2016 +0300 (2016-06-17) |
parents | 3ba8d2c9720d |
children | f86d053a0423 |
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="$PACKAGE${VERSION//./}src.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 \
16 automake autoconf zlib-dev patch"
18 # Rules to configure and make the package.
20 compile_rules() {
21 export LDFLAGS="$LDFLAGS -ltinfo"
22 cd $src
23 patch -p1 -i $stuff/zsnes.patch
24 cd $src/src
25 ./configure --prefix=/usr \
26 --x-libraries=/usr/lib \
27 --enable-release \
28 force_arch=$ARCH \
29 $CONFIGURE_ARGS &&
30 make &&
31 make -j 1 install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin
38 cp -a $src/src/zsnes $fs/usr/bin
39 }