wok-next annotate dosbox/receipt @ rev 12753
dosbox: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 11 13:42:55 2012 +0200 (2012-05-11) |
parents | 31dd0105be72 |
children | a0250385f2a5 |
rev | line source |
---|---|
pankso@797 | 1 # SliTaz package receipt. |
pankso@797 | 2 |
pankso@797 | 3 PACKAGE="dosbox" |
slaxemulator@6222 | 4 VERSION="0.74" |
pankso@797 | 5 CATEGORY="system-tools" |
pankso@797 | 6 SHORT_DESC="DOS-emulator that uses the SDL-library." |
slaxemulator@6970 | 7 DEPENDS="xorg-libX11 libsdl alsa-lib zlib mesa libpng libsdl-net" |
slaxemulator@10550 | 8 BUILD_DEPENDS="xorg-libX11-dev libsdl-dev libsdl-net-dev " |
pankso@797 | 9 MAINTAINER="pankso@slitaz.org" |
pankso@797 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@797 | 11 WEB_SITE="http://www.dosbox.com/" |
pankso@797 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@797 | 13 |
pankso@797 | 14 # Rules to configure and make the package. |
pankso@797 | 15 compile_rules() |
pankso@797 | 16 { |
pankso@797 | 17 cd $src |
pascal@12753 | 18 sed -i 's/define DOSBOX_DOS_INC_H/&\n#include <stddef.h>/' include/dos_inc.h |
pankso@797 | 19 ./configure \ |
pankso@797 | 20 --prefix=/usr \ |
pankso@797 | 21 --mandir=/usr/share/man \ |
pascal@2488 | 22 $CONFIGURE_ARGS && |
pascal@2488 | 23 make && |
pankso@797 | 24 make DESTDIR=$PWD/_pkg install |
pankso@797 | 25 } |
pankso@797 | 26 |
pankso@797 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@797 | 28 genpkg_rules() |
pankso@797 | 29 { |
samuel_trassare@11930 | 30 mkdir -p $fs/usr/share/pixmaps \ |
samuel_trassare@11930 | 31 $fs/usr/share/applications |
pankso@797 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@797 | 33 } |
pankso@797 | 34 |