wok view emu2/receipt @ rev 25632

Up gtklife (5.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 23 14:06:29 2023 +0000 (11 months ago)
parents a794ec0a6495
children 70750875bc0b
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 cp $stuff/* src
27 mkdir obj
28 make CC=gcc-83 DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $install/usr/doc $fs/usr
35 cp $src/README.md $install/usr/doc
36 cp -a $install/usr/bin $fs/usr
37 }