wok view emu2/receipt @ rev 25616

Add emu2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 26 15:51:29 2023 +0000 (10 months ago)
parents
children 8ac6f7029d68
line source
1 # SliTaz package receipt.
3 PACKAGE="emu2"
4 VERSION="2021.01"
5 CATEGORY="system-tools"
6 TAGS="emulator dos vm86 8086"
7 SHORT_DESC="Simple x86 and DOS emulator for the Linux terminal."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="https://github.com/dmsc/emu2"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="gcc83"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir obj
27 make CC=gcc-83 DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $install/usr/doc $fs/usr
34 cp $src/README.md $install/usr/doc
35 cp -a $install/usr/bin $fs/usr
36 }