wok-current view dosbox/receipt @ rev 23887

glibc: fix for binutils 2.29 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 17 11:18:27 2020 +0000 (2020-07-17)
parents 136c30321469
children 640a2eba2511
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's/define DOSBOX_DOS_INC_H/&\n#include <stddef.h>/' \
22 include/dos_inc.h
24 ./configure \
25 --prefix=/usr \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/pixmaps
36 mkdir -p $fs/usr/share/applications
38 cp -a $install/usr/bin $fs/usr
39 cp $stuff/*.desktop $fs/usr/share/applications
40 }