wok-current view zsnes/receipt @ rev 21127
gejengel: imagemagick 7 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 20 21:23:37 2019 +0100 (2019-03-20) |
parents | 762b649a4d73 |
children | dd9b0bdf9963 |
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 sed -i 's|/usr/man/|/usr/share/man/|' Makefile*
26 ./configure --prefix=/usr \
27 --x-libraries=/usr/lib \
28 --enable-release \
29 force_arch=$ARCH \
30 $CONFIGURE_ARGS &&
31 make &&
32 make -j 1 install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin
39 cp -a $src/src/zsnes $fs/usr/bin
40 }