wok-4.x view aufs-utils/receipt @ rev 6667

Added libgio to libgio-dev depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Oct 12 03:16:48 2010 +0000 (2010-10-12)
parents 967fe94776a2
children 938f73ef864a
line source
1 # SliTaz package receipt.
3 PACKAGE="aufs-utils"
4 VERSION="20100916"
5 CATEGORY="system-tools"
6 SHORT_DESC="The aufs utils."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="linux-aufs"
9 BUILD_DEPENDS="git"
10 WEB_SITE="http://aufs.sourceforge.net/"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
16 git clone http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git \
17 $PACKAGE-$VERSION
18 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
19 if [ ! -d $WOK/linux/linux-$KERNEL_VERSION ]; then
20 tazwok cook linux
21 fi
22 cd $src
23 sed -i 's/-m 644 -T/-m 644/' Makefile
24 make KDIR=$WOK/linux/linux-$KERNEL_VERSION &&
25 make KDIR=$WOK/linux/linux-$KERNEL_VERSION DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/sbin $fs
33 cp -a $_pkg/usr/bin $fs/usr
34 }