wok view zsnes/receipt @ rev 22805
updated gawk (4.2.1 -> 5.0.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jan 28 10:03:39 2020 +0100 (2020-01-28) |
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 }