wok annotate dosbox/receipt @ rev 14673

edje: Up to 1.7.7
author Dominique Corbex <domcox@slitaz.org>
date Thu Jun 06 22:08:31 2013 +0200 (2013-06-06)
parents e7dfe8e16bdf
children 380ffe05937a
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"
pascal@13041 13 TAGS="emulator dos"
pankso@797 14
pankso@797 15 # Rules to configure and make the package.
pankso@797 16 compile_rules()
pankso@797 17 {
pankso@797 18 cd $src
pascal@12753 19 sed -i 's/define DOSBOX_DOS_INC_H/&\n#include <stddef.h>/' include/dos_inc.h
pankso@797 20 ./configure \
pankso@797 21 --prefix=/usr \
pankso@797 22 --mandir=/usr/share/man \
pascal@2488 23 $CONFIGURE_ARGS &&
pascal@2488 24 make &&
pankso@797 25 make DESTDIR=$PWD/_pkg install
pankso@797 26 }
pankso@797 27
pankso@797 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@797 29 genpkg_rules()
pankso@797 30 {
samuel_trassare@11930 31 mkdir -p $fs/usr/share/pixmaps \
samuel_trassare@11930 32 $fs/usr/share/applications
pankso@797 33 cp -a $_pkg/usr/bin $fs/usr
pankso@797 34 }
pankso@797 35