wok-current view dosbox/receipt @ rev 25376

updated tzdata (2019c -> 2022a)
author Hans-G?nter Theisgen
date Sat Jul 30 10:43:02 2022 +0100 (2022-07-30)
parents 96ef6ba30769
children 5926178cd6fa
line source
1 # SliTaz package receipt.
3 PACKAGE="dosbox"
4 VERSION="0.74.3"
5 CATEGORY="system-tools"
6 TAGS="emulator dos vm86 8086"
7 SHORT_DESC="DOS-emulator that uses the SDL-library."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.dosbox.com/"
12 TARBALL="$PACKAGE-${VERSION%.*}-${VERSION##*.}.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="alsa-lib libpng libsdl libsdl-net mesa xorg-libX11 zlib"
16 BUILD_DEPENDS="libsdl-dev libsdl-net-dev xorg-libX11-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/dosbox/files/dosbox/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/dosbox/||;s|/.*||;s|-|.|g;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i 's/define DOSBOX_DOS_INC_H/&\n#include <stddef.h>/' \
30 include/dos_inc.h
32 ./configure \
33 --prefix=/usr \
34 --mandir=/usr/share/man \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share/pixmaps
44 mkdir -p $fs/usr/share/applications
46 cp -a $install/usr/bin $fs/usr
47 cp $stuff/*.desktop $fs/usr/share/applications
48 }