wok-6.x view dosbox-mb/receipt @ rev 23952

created recipe for mrxvt-unicode
author Hans-G?nter Theisgen
date Tue Sep 22 15:33:55 2020 +0100 (2020-09-22)
parents 96ef6ba30769
children b01314c762e9
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 cp $stuff/*.png $fs/usr/share/pixmaps
40 # Must be root to see the network interface
41 chmod 4755 $fs/usr/bin/dosbox
42 }