wok-next diff zsnes/receipt @ rev 20498
Unsuccessful fixings (just to totally synchronize wok-hg with wok): assaultcube, astromenace, chocolate-doom, dmraid, enigma, gpm, zsnes.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 14 17:27:57 2018 +0200 (2018-03-14) |
parents | dd145c435e4b |
children | c0521c689857 |
line diff
1.1 --- a/zsnes/receipt Wed Feb 28 17:32:31 2018 +0200 1.2 +++ b/zsnes/receipt Wed Mar 14 17:27:57 2018 +0200 1.3 @@ -1,32 +1,31 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="zsnes" 1.8 VERSION="1.51" 1.9 CATEGORY="games" 1.10 +SHORT_DESC="Super Nintendo emulator" 1.11 MAINTAINER="slaxemulator@gmail.com" 1.12 LICENSE="GPL2" 1.13 -SHORT_DESC="Super Nintendo emulator" 1.14 WEB_SITE="http://www.zsnes.com/" 1.15 + 1.16 TARBALL="$PACKAGE${VERSION//./}src.tar.bz2" 1.17 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 -TAGS="emulator nintendo snes" 1.19 1.20 -DEPENDS="gcc-lib-base libsdl libpng16 ncurses mesa zlib" 1.21 -BUILD_DEPENDS="$DEPENDS nasm libsdl-dev libpng16-dev ncurses-dev mesa-dev \ 1.22 +BUILD_DEPENDS="nasm libsdl-dev libpng16-dev ncurses-dev mesa17-dev \ 1.23 automake autoconf zlib-dev patch" 1.24 1.25 -# Rules to configure and make the package. 1.26 - 1.27 -compile_rules() 1.28 -{ 1.29 +compile_rules() { 1.30 sed -i -e '/info_ptr->color_type = /d' \ 1.31 -e 's/info_ptr->color_type/png_get_color_type(png_ptr, info_ptr)/' \ 1.32 src/zip/zpng.c 1.33 sed -i 's/cstdio.*/&\n#include <unistd.h>/' src/tools/depbuild.cpp 1.34 - patch -p1 -i $stuff/zsnes.patch 1.35 + patch -p1 -i $stuff/zsnes.patch 1.36 + 1.37 cd $src/src 1.38 + 1.39 sed -i 's|/usr/man/|/usr/share/man/|' Makefile* 1.40 - ./configure --prefix=/usr \ 1.41 + ./configure \ 1.42 + --prefix=/usr \ 1.43 --x-libraries=/usr/lib \ 1.44 --enable-release \ 1.45 force_arch=$ARCH \ 1.46 @@ -34,10 +33,11 @@ 1.47 make && 1.48 make -j 1 install 1.49 } 1.50 - 1.51 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.52 -genpkg_rules() 1.53 -{ 1.54 - mkdir -p $fs/usr/bin 1.55 - cp -a $src/src/zsnes $fs/usr/bin 1.56 + 1.57 +genpkg_rules() { 1.58 + copy @std 1.59 +# mkdir -p $fs/usr/bin 1.60 +# cp -a $src/src/zsnes $fs/usr/bin 1.61 + DEPENDS="gcc-lib-base libsdl libpng16 ncurses mesa17 zlib" 1.62 + TAGS="emulator nintendo snes" 1.63 }