wok-current annotate dosbox/receipt @ rev 23288
updated perl-apache-dbi (1.07 -> 1.12)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 29 15:03:00 2020 +0100 (2020-03-29) |
parents | 9e29d7944214 |
children | 96ef6ba30769 |
rev | line source |
---|---|
pankso@797 | 1 # SliTaz package receipt. |
pankso@797 | 2 |
pankso@797 | 3 PACKAGE="dosbox" |
Hans-G?nter@22656 | 4 VERSION="0.74.3" |
pankso@797 | 5 CATEGORY="system-tools" |
Hans-G?nter@22656 | 6 TAGS="emulator dos vm86 8086" |
pankso@797 | 7 SHORT_DESC="DOS-emulator that uses the SDL-library." |
pankso@797 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
Hans-G?nter@22656 | 10 WEB_SITE="https://www.dosbox.com/" |
Hans-G?nter@22656 | 11 |
Hans-G?nter@22656 | 12 TARBALL="$PACKAGE-${VERSION%.*}-${VERSION##*.}.tar.gz" |
pankso@797 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@797 | 14 |
Hans-G?nter@22656 | 15 DEPENDS="alsa-lib libpng libsdl libsdl-net mesa xorg-libX11 zlib" |
Hans-G?nter@22656 | 16 BUILD_DEPENDS="libsdl-dev libsdl-net-dev xorg-libX11-dev" |
pascal@15000 | 17 |
pankso@797 | 18 # Rules to configure and make the package. |
pankso@797 | 19 compile_rules() |
pankso@797 | 20 { |
Hans-G?nter@22656 | 21 sed -i 's/define DOSBOX_DOS_INC_H/&\n#include <stddef.h>/' \ |
Hans-G?nter@22656 | 22 include/dos_inc.h |
Hans-G?nter@22656 | 23 |
Hans-G?nter@22656 | 24 ./configure \ |
Hans-G?nter@22656 | 25 --prefix=/usr \ |
Hans-G?nter@22656 | 26 --mandir=/usr/share/man \ |
pascal@2488 | 27 $CONFIGURE_ARGS && |
pascal@2488 | 28 make && |
pascal@15000 | 29 make DESTDIR=$DESTDIR install |
pankso@797 | 30 } |
pankso@797 | 31 |
pankso@797 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@797 | 33 genpkg_rules() |
pankso@797 | 34 { |
Hans-G?nter@22656 | 35 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@22656 | 36 mkdir -p $fs/usr/share/applications |
Hans-G?nter@22656 | 37 |
Hans-G?nter@22656 | 38 cp -a $install/usr/bin $fs/usr |
pankso@797 | 39 } |