wok view dosbox/receipt @ rev 12824

linux: add ARM patch, improve receipt
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 22 11:26:32 2012 +0200 (2012-05-22)
parents 31dd0105be72
children a0250385f2a5
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/define DOSBOX_DOS_INC_H/&\n#include <stddef.h>/' include/dos_inc.h
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/pixmaps \
31 $fs/usr/share/applications
32 cp -a $_pkg/usr/bin $fs/usr
33 }