wok-next view zsnes/receipt @ rev 19960
Remove -ltinfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 17 10:14:12 2017 +0200 (2017-10-17) |
parents | f86d053a0423 |
children | 4c3300d8140f |
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 {
22 patch -p1 -i $stuff/zsnes.patch
23 cd $src/src
24 sed -i 's|/usr/man/|/usr/share/man/|' Makefile*
25 ./configure --prefix=/usr \
26 --x-libraries=/usr/lib \
27 --enable-release \
28 force_arch=$ARCH \
29 $CONFIGURE_ARGS &&
30 make &&
31 make -j 1 install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin
38 cp -a $src/src/zsnes $fs/usr/bin
39 }