wok view dosbox-mb/receipt @ rev 23854

Up dbus (1.12.18)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 16 12:51:04 2020 +0000 (2020-06-16)
parents 11e3f9a32011
children eb5518b1b094
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 cp $stuff/*.desktop $fs/usr/share/applications
39 # Must be root to see the network interface
40 chmod 4755 $fs/usr/bin/dosbox
41 }