wok-next view dosbox-mb/receipt @ rev 20257

dosbox-mb, matchbox-window-manager-2: tiny patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 07 17:16:26 2017 +0100 (2017-11-07)
parents d0c817e1d52b
children dd145c435e4b
line source
1 # SliTaz package receipt.
3 PACKAGE="dosbox-mb"
4 VERSION="6"
5 CATEGORY="system-tools"
6 SHORT_DESC="DOS-emulator that uses the SDL-library with network support."
7 INFO="http://home.arcor.de/h-a-l-9000/ne2kstuff/db_ne2000.html"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE$VERSION.tar.gz"
11 WEB_SITE="http://www.dosbox.com/"
12 WGET_URL="http://source.dosbox.com/mb$VERSION/$TARBALL"
13 TAGS="emulator dos vm86 8086"
15 DEPENDS="xorg-libX11 libsdl alsa-lib zlib mesa libpng libsdl-net libpng libpcap"
16 BUILD_DEPENDS="xorg-libX11-dev libsdl-dev libsdl-net-dev freetype-dev \
17 libpng libpng-dev libpcap libpcap-dev automake autoconf libtool zlib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's|"printer.h".*|&\n#include <zlib.h>|' \
23 src/hardware/parport/printer.cpp
24 sed -i '/HAVE_REMOTE/d' src/hardware/ne2000.cpp
25 sed -i 's/define DOSBOX_DOS_INC_H/&\n#include <stddef.h>/' include/dos_inc.h
26 ./autogen.sh
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share/pixmaps \
39 $fs/usr/share/applications
40 cp -a $install/usr/bin $fs/usr
41 # Must be root to see the network interface
42 chmod 4755 $fs/usr/bin/dosbox
43 }