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