wok diff dosbox-mb/receipt @ rev 22067

updated udevil again (0.4.3 -> 0.4.4)
author Hans-G?nter Theisgen
date Fri Oct 25 14:56:03 2019 +0100 (2019-10-25)
parents
children 96ef6ba30769
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dosbox-mb/receipt	Fri Oct 25 14:56:03 2019 +0100
     1.3 @@ -0,0 +1,40 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="dosbox-mb"
     1.7 +VERSION="6"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="DOS-emulator that uses the SDL-library with network support."
    1.10 +INFO="http://home.arcor.de/h-a-l-9000/ne2kstuff/db_ne2000.html"
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="GPL2"
    1.13 +TARBALL="$PACKAGE$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.dosbox.com/"
    1.15 +WGET_URL="http://source.dosbox.com/mb$VERSION/$TARBALL"
    1.16 +TAGS="emulator dos vm86 8086"
    1.17 +
    1.18 +DEPENDS="xorg-libX11 libsdl alsa-lib zlib mesa libpng libsdl-net libpng libpcap"
    1.19 +BUILD_DEPENDS="xorg-libX11-dev libsdl-dev libsdl-net-dev freetype-dev \
    1.20 +libpng libpng-dev libpcap libpcap-dev automake autoconf libtool"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	sed -i 's/define DOSBOX_DOS_INC_H/&\n#include <stddef.h>/' include/dos_inc.h
    1.26 +	./autogen.sh
    1.27 +	./configure \
    1.28 +		--prefix=/usr \
    1.29 +		--mandir=/usr/share/man \
    1.30 +		$CONFIGURE_ARGS &&
    1.31 +	make &&
    1.32 +	make DESTDIR=$DESTDIR install
    1.33 +}
    1.34 +
    1.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +	mkdir -p $fs/usr/share/pixmaps \
    1.39 +		$fs/usr/share/applications
    1.40 +	cp -a $install/usr/bin $fs/usr
    1.41 +	# Must be root to see the network interface
    1.42 +	chmod 4755 $fs/usr/bin/dosbox
    1.43 +}