wok-next annotate dosbox/receipt @ rev 17249
QtWeb, dooble, libQtGui, ncmpcpp, remind, tiptop, tmux-mem-cpu-load: fix ownership
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 19 12:21:07 2014 +0200 (2014-10-19) |
parents | 380ffe05937a |
children | dd145c435e4b |
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." |
pankso@797 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pankso@797 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@797 | 10 WEB_SITE="http://www.dosbox.com/" |
pankso@797 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@16680 | 12 TAGS="emulator dos vm86 8086" |
pankso@797 | 13 |
pascal@15000 | 14 DEPENDS="xorg-libX11 libsdl alsa-lib zlib mesa libpng libsdl-net" |
pascal@15000 | 15 BUILD_DEPENDS="xorg-libX11-dev libsdl-dev libsdl-net-dev " |
pascal@15000 | 16 |
pankso@797 | 17 # Rules to configure and make the package. |
pankso@797 | 18 compile_rules() |
pankso@797 | 19 { |
pankso@797 | 20 cd $src |
pascal@12753 | 21 sed -i 's/define DOSBOX_DOS_INC_H/&\n#include <stddef.h>/' include/dos_inc.h |
pankso@797 | 22 ./configure \ |
pankso@797 | 23 --prefix=/usr \ |
pankso@797 | 24 --mandir=/usr/share/man \ |
pascal@2488 | 25 $CONFIGURE_ARGS && |
pascal@2488 | 26 make && |
pascal@15000 | 27 make DESTDIR=$DESTDIR install |
pankso@797 | 28 } |
pankso@797 | 29 |
pankso@797 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@797 | 31 genpkg_rules() |
pankso@797 | 32 { |
samuel_trassare@11930 | 33 mkdir -p $fs/usr/share/pixmaps \ |
samuel_trassare@11930 | 34 $fs/usr/share/applications |
pascal@15000 | 35 cp -a $install/usr/bin $fs/usr |
pankso@797 | 36 } |
pankso@797 | 37 |