wok-current view tinyemu/receipt @ rev 24538
updated fbcat (0.5.1 -> 0.5.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:14:49 2022 +0100 (2022-02-23) |
parents | 3a911a85bdd5 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="tinyemu"
4 VERSION="2019-12-21"
5 CATEGORY="misc"
6 SHORT_DESC="A system emulator for the RISC-V and x86 architectures"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://bellard.org/tinyemu/"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 TAGS="virtualization emulator"
14 DEPENDS="libssl libcurl zlib libsdl"
15 BUILD_DEPENDS="openssl-dev curl-dev libsdl-dev"
16 SUGGESTED="linux-kvm"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's|^CONFIG_INT128|#&|;s|/usr/local|/usr|' Makefile
29 mkdir -p $DESTDIR/usr/bin
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr $install/usr/doc
38 cp -a $src/readme.txt $install/usr/doc
39 cp -a $install/usr/bin $fs/usr
40 }