wok-current view qemu-box/receipt @ rev 13571

lxde: Add local root variable to post_install and post_remove scripts so tazpkg --root will work with it.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 04 09:14:01 2012 +0000 (2012-11-04)
parents
children 23c3aed67cd9
line source
1 # SliTaz package receipt
3 PACKAGE="qemu-box"
4 VERSION="1.7"
5 CATEGORY="development"
6 SHORT_DESC="SliTaz Qemu frontend."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="slitaz-dev-tools"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WGET_URL="http://hg.slitaz.org/slitaz-dev-tools/archive/$VERSION.tar.bz2"
11 WEB_SITE="http://www.slitaz.org/"
13 DEPENDS="qemu-light"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src/qemu-box
19 make DESTDIR=$DESTDIR install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs
26 cp -a $install/* $fs
27 chown -R root.root $fs
28 }