wok-current view zsnes/receipt @ rev 23449

updated protobuf, protobuf-dev and protobuf-python (3.8.0 -> 3.11.4)
author Hans-G?nter Theisgen
date Fri Apr 03 06:28:53 2020 +0100 (2020-04-03)
parents f86d053a0423
children c365fe17a816
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="https://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 }