wok view qemu-box/receipt @ rev 25614

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