wok-current diff tinyemu/receipt @ rev 24056
Up zstd (1.5.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 08 09:29:15 2021 +0000 (2021-06-08) |
parents | |
children | 453c249b6219 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tinyemu/receipt Tue Jun 08 09:29:15 2021 +0000 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="tinyemu" 1.7 +VERSION="2019-12-21" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="A system emulator for the RISC-V and x86 architectures" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="MIT BSD" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://bellard.org/tinyemu/" 1.14 +WGET_URL="$WEB_SITE/$TARBALL" 1.15 +TAGS="virtualization emulator" 1.16 + 1.17 +DEPENDS="libssl libcurl zlib libsdl" 1.18 +BUILD_DEPENDS="openssl-dev curl-dev libsdl-dev" 1.19 +SUGGESTED="linux-kvm" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + sed -i 's|^CONFIG_INT128|#&|;s|/usr/local|/usr|' Makefile 1.25 + mkdir -p $DESTDIR/usr/bin 1.26 + make && 1.27 + make DESTDIR=$DESTDIR install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr $install/usr/doc 1.34 + cp -a $src/readme.txt $install/usr/doc 1.35 + cp -a $install/usr/bin $fs/usr 1.36 +}