wok-current view dosbox/receipt @ rev 20062
Up zstd (1.3.1), syslinux/c32box fix loadcustominitrd()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 22 15:56:58 2017 +0200 (2017-09-22) |
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 }