wok-next view zsnes/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | baaa04032e25 |
children | 5669e8b3be70 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="zsnes"
4 VERSION="1.51"
5 CATEGORY="games"
6 SHORT_DESC="Super Nintendo emulator"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.zsnes.com/"
10 HOST_ARCH="i486"
12 TARBALL="$PACKAGE${VERSION//./}src.tar.bz2"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="nasm libsdl-dev libpng16-dev ncurses-dev mesa-dev \
16 automake autoconf zlib-dev patch"
18 compile_rules() {
19 sed -i -e '/info_ptr->color_type = /d' \
20 -e 's/info_ptr->color_type/png_get_color_type(png_ptr, info_ptr)/' \
21 src/zip/zpng.c
22 sed -i 's/cstdio.*/&\n#include <unistd.h>/' src/tools/depbuild.cpp
24 cd $src/src
26 sed -i 's|/usr/man/|/usr/share/man/|' Makefile*
27 ./configure \
28 --prefix=/usr \
29 --x-libraries=/usr/lib \
30 --enable-release \
31 force_arch=$ARCH \
32 $CONFIGURE_ARGS &&
33 make &&
34 make -j1 install
35 }
37 genpkg_rules() {
38 copy @std
39 # mkdir -p $fs/usr/bin
40 # cp -a $src/src/zsnes $fs/usr/bin
41 DEPENDS="gcc-lib-base libsdl libpng16 ncurses mesa zlib"
42 TAGS="emulator nintendo snes"
43 }