wok-current view dosbox/receipt @ rev 23831

syslinux/iso2exe: fix loram case
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 31 14:59:28 2020 +0000 (2020-05-31)
parents 9e29d7944214
children 96ef6ba30769
line source
1 # SliTaz package receipt.
3 PACKAGE="dosbox"
4 VERSION="0.74.3"
5 CATEGORY="system-tools"
6 TAGS="emulator dos vm86 8086"
7 SHORT_DESC="DOS-emulator that uses the SDL-library."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.dosbox.com/"
12 TARBALL="$PACKAGE-${VERSION%.*}-${VERSION##*.}.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="alsa-lib libpng libsdl libsdl-net mesa xorg-libX11 zlib"
16 BUILD_DEPENDS="libsdl-dev libsdl-net-dev xorg-libX11-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's/define DOSBOX_DOS_INC_H/&\n#include <stddef.h>/' \
22 include/dos_inc.h
24 ./configure \
25 --prefix=/usr \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/pixmaps
36 mkdir -p $fs/usr/share/applications
38 cp -a $install/usr/bin $fs/usr
39 }