wok-next annotate dosbox-mb/receipt @ rev 18690
Up tazpkg(888), tazpanel(558)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 11 01:54:14 2015 +0200 (2015-12-11) |
parents | |
children | d0c817e1d52b |
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 |
pascal@17702 | 15 DEPENDS="xorg-libX11 libsdl alsa-lib zlib mesa libpng libsdl-net libpng libpcap" |
pascal@17702 | 16 BUILD_DEPENDS="xorg-libX11-dev libsdl-dev libsdl-net-dev freetype-dev \ |
pascal@17702 | 17 libpng libpng-dev libpcap libpcap-dev automake autoconf libtool" |
pascal@17702 | 18 |
pascal@17702 | 19 # Rules to configure and make the package. |
pascal@17702 | 20 compile_rules() |
pascal@17702 | 21 { |
pascal@17702 | 22 sed -i 's/define DOSBOX_DOS_INC_H/&\n#include <stddef.h>/' include/dos_inc.h |
pascal@17702 | 23 ./autogen.sh |
pascal@17702 | 24 ./configure \ |
pascal@17702 | 25 --prefix=/usr \ |
pascal@17702 | 26 --mandir=/usr/share/man \ |
pascal@17702 | 27 $CONFIGURE_ARGS && |
pascal@17702 | 28 make && |
pascal@17702 | 29 make DESTDIR=$DESTDIR install |
pascal@17702 | 30 } |
pascal@17702 | 31 |
pascal@17702 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17702 | 33 genpkg_rules() |
pascal@17702 | 34 { |
pascal@17702 | 35 mkdir -p $fs/usr/share/pixmaps \ |
pascal@17702 | 36 $fs/usr/share/applications |
pascal@17702 | 37 cp -a $install/usr/bin $fs/usr |
pascal@17702 | 38 # Must be root to see the network interface |
pascal@17702 | 39 chmod 4755 $fs/usr/bin/dosbox |
pascal@17702 | 40 } |