wok-current view qemulator/receipt @ rev 25118
Use https://download.tuxfamily.org/ for some broken wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 25 16:14:50 2022 +0000 (2022-06-25) |
parents | b7f1bd1b9ac7 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="qemulator"
4 VERSION="0.5"
5 CATEGORY="misc"
6 SHORT_DESC="The full featured qemu emulation suite."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="Qemulator"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="https://web.archive.org/web/20100227040751/http://qemulator.createweb.de/"
12 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"
13 TAGS="emulator virtualization"
15 DEPENDS="python pygtk qemu"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://launchpad.net/virtualbrick 2>/dev/null | \
21 sed '/Latest version/!d;s|.*is ||;q'
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $src/usr/local/* $fs/usr
29 rm -rf $fs/usr/share/icons $fs/usr/share/pixmaps/*.svg
30 cp $src/usr/local/share/icons/hicolor/32x32/apps/* \
31 $fs/usr/share/pixmaps
32 cp stuff/slitaz.png $fs/usr/share/$PACKAGE/icons
33 }