wok-6.x view aufs-utils/receipt @ rev 4445
Up: awesome (3.3.4)
author | Mallory Mollo <mallory@sweetpeople.org> |
---|---|
date | Tue Nov 03 23:27:48 2009 +0100 (2009-11-03) |
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 }