wok-6.x annotate tinyemu/receipt @ rev 24740
updated libexif-gtk and libexif-gtk-dev (0.4.0 -> 0.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 10:07:05 2022 +0100 (2022-03-16) |
parents | 3a911a85bdd5 |
children |
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@24425 | 18 # What is the latest version available today? |
pascal@24425 | 19 current_version() |
pascal@24425 | 20 { |
pascal@24425 | 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 22 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24425 | 23 } |
pascal@24425 | 24 |
pascal@23965 | 25 # Rules to configure and make the package. |
pascal@23965 | 26 compile_rules() |
pascal@23965 | 27 { |
pascal@23965 | 28 sed -i 's|^CONFIG_INT128|#&|;s|/usr/local|/usr|' Makefile |
pascal@23965 | 29 mkdir -p $DESTDIR/usr/bin |
pascal@23965 | 30 make && |
pascal@23965 | 31 make DESTDIR=$DESTDIR install |
pascal@23965 | 32 } |
pascal@23965 | 33 |
pascal@23965 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@23965 | 35 genpkg_rules() |
pascal@23965 | 36 { |
pascal@23965 | 37 mkdir -p $fs/usr $install/usr/doc |
pascal@23965 | 38 cp -a $src/readme.txt $install/usr/doc |
pascal@23965 | 39 cp -a $install/usr/bin $fs/usr |
pascal@23965 | 40 } |