wok view dosbox/receipt @ rev 15837
Up: fuse to 2.9.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jan 27 04:24:04 2014 +0000 (2014-01-27) |
parents | a0250385f2a5 |
children | 9e29d7944214 |
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"
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 }