wok view tinyemu/receipt @ rev 23965
Add tinyemu
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 02 16:50:09 2020 +0000 (2020-10-02) |
parents | |
children | 453c249b6219 |
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's|^CONFIG_INT128|#&|;s|/usr/local|/usr|' Makefile
22 mkdir -p $DESTDIR/usr/bin
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr $install/usr/doc
31 cp -a $src/readme.txt $install/usr/doc
32 cp -a $install/usr/bin $fs/usr
33 }