wok annotate tinyemu/receipt @ rev 24340
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 31 11:41:46 2022 +0000 (2022-01-31) |
parents | |
children | 453c249b6219 |
rev | line source |
---|---|
pascal@23965 | 1 # SliTaz package receipt. |
pascal@23965 | 2 |
pascal@23965 | 3 PACKAGE="tinyemu" |
pascal@23965 | 4 VERSION="2019-12-21" |
pascal@23965 | 5 CATEGORY="misc" |
pascal@23965 | 6 SHORT_DESC="A system emulator for the RISC-V and x86 architectures" |
pascal@23965 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@23965 | 8 LICENSE="MIT BSD" |
pascal@23965 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@23965 | 10 WEB_SITE="https://bellard.org/tinyemu/" |
pascal@23965 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@23965 | 12 TAGS="virtualization emulator" |
pascal@23965 | 13 |
pascal@23965 | 14 DEPENDS="libssl libcurl zlib libsdl" |
pascal@23965 | 15 BUILD_DEPENDS="openssl-dev curl-dev libsdl-dev" |
pascal@23965 | 16 SUGGESTED="linux-kvm" |
pascal@23965 | 17 |
pascal@23965 | 18 # Rules to configure and make the package. |
pascal@23965 | 19 compile_rules() |
pascal@23965 | 20 { |
pascal@23965 | 21 sed -i 's|^CONFIG_INT128|#&|;s|/usr/local|/usr|' Makefile |
pascal@23965 | 22 mkdir -p $DESTDIR/usr/bin |
pascal@23965 | 23 make && |
pascal@23965 | 24 make DESTDIR=$DESTDIR install |
pascal@23965 | 25 } |
pascal@23965 | 26 |
pascal@23965 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@23965 | 28 genpkg_rules() |
pascal@23965 | 29 { |
pascal@23965 | 30 mkdir -p $fs/usr $install/usr/doc |
pascal@23965 | 31 cp -a $src/readme.txt $install/usr/doc |
pascal@23965 | 32 cp -a $install/usr/bin $fs/usr |
pascal@23965 | 33 } |