wok-6.x view dosbox/receipt @ rev 17170

fusecloop: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 23 12:07:01 2014 +0200 (2014-09-23)
parents 380ffe05937a
children 136c30321469
line source
1 # SliTaz package receipt.
3 PACKAGE="dosbox"
4 VERSION="0.74"
5 CATEGORY="system-tools"
6 SHORT_DESC="DOS-emulator that uses the SDL-library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.dosbox.com/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="emulator dos vm86 8086"
14 DEPENDS="xorg-libX11 libsdl alsa-lib zlib mesa libpng libsdl-net"
15 BUILD_DEPENDS="xorg-libX11-dev libsdl-dev libsdl-net-dev "
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's/define DOSBOX_DOS_INC_H/&\n#include <stddef.h>/' include/dos_inc.h
22 ./configure \
23 --prefix=/usr \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/pixmaps \
34 $fs/usr/share/applications
35 cp -a $install/usr/bin $fs/usr
36 }