wok-6.x view dosbox-mb/receipt @ rev 18378
Up: nginx (1.9.4)
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Thu Sep 17 16:02:23 2015 +0000 (2015-09-17) |
parents | |
children | 96ef6ba30769 |
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"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's/define DOSBOX_DOS_INC_H/&\n#include <stddef.h>/' include/dos_inc.h
23 ./autogen.sh
24 ./configure \
25 --prefix=/usr \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/pixmaps \
36 $fs/usr/share/applications
37 cp -a $install/usr/bin $fs/usr
38 # Must be root to see the network interface
39 chmod 4755 $fs/usr/bin/dosbox
40 }