wok-next view dosbox/receipt @ rev 20690
add missing SHA256sums
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Mon May 21 19:36:47 2018 +0000 (2018-05-21) |
parents | 9e29d7944214 |
children | b84b01f3048e |
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 libpng16 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 }