wok view aufs-utils/receipt @ rev 4937

add/improve TAGS h* receipts
author Rohit Joshi <jozee@slitaz.org>
date Tue Feb 16 14:01:36 2010 +0000 (2010-02-16)
parents a13008a385ae
children a870d7a5977e
line source
1 # SliTaz package receipt.
3 PACKAGE="aufs-utils"
4 VERSION="20090928"
5 CATEGORY="system-tools"
6 SHORT_DESC="The aufs utils."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="linux-aufs"
9 WEB_SITE="http://aufs.sourceforge.net/"
11 # Rules to configure and make the package.
12 compile_rules()
13 {
14 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
15 git clone http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git \
16 $PACKAGE-$VERSION
17 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
18 if [ ! -d $WOK/linux/linux-$KERNEL_VERSION ]; then
19 tazwok cook linux
20 fi
21 cd $src
22 make KDIR=$WOK/linux/linux-$KERNEL_VERSION && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/sbin $fs
30 cp -a $_pkg/usr/bin $fs/usr
31 }