wok view dosbox/receipt @ rev 14940
Up: embryo-dev (1.7.8)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 19:15:45 2013 +0200 (2013-08-08) |
parents | e7dfe8e16bdf |
children | 380ffe05937a |
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 DEPENDS="xorg-libX11 libsdl alsa-lib zlib mesa libpng libsdl-net"
8 BUILD_DEPENDS="xorg-libX11-dev libsdl-dev libsdl-net-dev "
9 MAINTAINER="pankso@slitaz.org"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.dosbox.com/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="emulator dos"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/define DOSBOX_DOS_INC_H/&\n#include <stddef.h>/' include/dos_inc.h
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/pixmaps \
32 $fs/usr/share/applications
33 cp -a $_pkg/usr/bin $fs/usr
34 }