wok-current annotate qemu-box/receipt @ rev 24145

ventoy: set arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 17 10:14:59 2021 +0000 (2021-11-17)
parents 1dce8e8602f2
children
rev   line source
pankso@12699 1 # SliTaz package receipt
pankso@12699 2
pankso@12699 3 PACKAGE="qemu-box"
pascal@19414 4 VERSION="258"
pankso@12699 5 CATEGORY="development"
pankso@12699 6 SHORT_DESC="SliTaz Qemu frontend."
pankso@12699 7 MAINTAINER="pankso@slitaz.org"
pascal@15601 8 LICENSE="BSD"
pankso@12699 9 SOURCE="slitaz-dev-tools"
pankso@12699 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@12699 11 WGET_URL="http://hg.slitaz.org/slitaz-dev-tools/archive/$VERSION.tar.bz2"
pankso@12699 12 WEB_SITE="http://www.slitaz.org/"
pankso@12699 13
pankso@12699 14 DEPENDS="qemu-light"
pankso@12699 15
pascal@24070 16 current_version()
pascal@24070 17 {
pascal@24070 18 wget -O - http://hg.slitaz.org/slitaz-dev-tools/ 2>/dev/null | \
pascal@24070 19 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-dev-tools/rev/|;s|<.*||' | \
pascal@24070 20 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
pascal@24070 21 }
pascal@24070 22
pankso@12699 23 # Rules to configure and make the package.
pankso@12699 24 compile_rules()
pankso@12699 25 {
pankso@12699 26 cd $src/qemu-box
pankso@12699 27 make DESTDIR=$DESTDIR install
pankso@12699 28 }
pankso@12699 29
pankso@12699 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12699 31 genpkg_rules()
pankso@12699 32 {
pankso@12699 33 mkdir -p $fs
pankso@12699 34 cp -a $install/* $fs
pankso@12699 35 chown -R root.root $fs
pankso@12699 36 }