wok-next annotate zsnes/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 5669e8b3be70 |
children |
rev | line source |
---|---|
al@20498 | 1 # SliTaz package receipt v2. |
slaxemulator@6391 | 2 |
slaxemulator@6391 | 3 PACKAGE="zsnes" |
slaxemulator@6391 | 4 VERSION="1.51" |
slaxemulator@6391 | 5 CATEGORY="games" |
al@20498 | 6 SHORT_DESC="Super Nintendo emulator" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15198 | 8 LICENSE="GPL2" |
slaxemulator@6391 | 9 WEB_SITE="http://www.zsnes.com/" |
al@20851 | 10 HOST_ARCH="i486" |
al@20498 | 11 |
al@19001 | 12 TARBALL="$PACKAGE${VERSION//./}src.tar.bz2" |
slaxemulator@6391 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@6391 | 14 |
al@21087 | 15 BUILD_DEPENDS="nasm sdl-dev libpng-dev ncurses-dev mesa-dev \ |
al@19001 | 16 automake autoconf zlib-dev patch" |
pascal@13796 | 17 |
al@20498 | 18 compile_rules() { |
pascal@20130 | 19 sed -i -e '/info_ptr->color_type = /d' \ |
pascal@20130 | 20 -e 's/info_ptr->color_type/png_get_color_type(png_ptr, info_ptr)/' \ |
pascal@20130 | 21 src/zip/zpng.c |
pascal@20047 | 22 sed -i 's/cstdio.*/&\n#include <unistd.h>/' src/tools/depbuild.cpp |
al@20498 | 23 |
pascal@19960 | 24 cd $src/src |
al@20498 | 25 |
pascal@19960 | 26 sed -i 's|/usr/man/|/usr/share/man/|' Makefile* |
al@20498 | 27 ./configure \ |
al@20498 | 28 --prefix=/usr \ |
pascal@19960 | 29 --x-libraries=/usr/lib \ |
pascal@19960 | 30 --enable-release \ |
pascal@19960 | 31 force_arch=$ARCH \ |
pascal@19960 | 32 $CONFIGURE_ARGS && |
pascal@19960 | 33 make && |
al@21020 | 34 make -j1 install |
slaxemulator@6391 | 35 } |
al@20498 | 36 |
al@20498 | 37 genpkg_rules() { |
al@20498 | 38 copy @std |
al@20498 | 39 # mkdir -p $fs/usr/bin |
al@20498 | 40 # cp -a $src/src/zsnes $fs/usr/bin |
al@21087 | 41 DEPENDS="gcc-lib-base sdl libpng ncurses mesa zlib" |
al@20498 | 42 TAGS="emulator nintendo snes" |
slaxemulator@6391 | 43 } |