wok-current view aufs/receipt @ rev 1960
Openldap: wait 2 seconds after slapd start
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 31 15:41:11 2008 +0000 (2008-12-31) |
parents | d5139637d409 |
children | f8b7522f8eb2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="aufs"
4 VERSION="20081206"
5 CATEGORY="base-system"
6 SHORT_DESC="Stackable unification FileSystem utilities."
7 MAINTAINER="pascal.bellard@ads-lu.com"
8 WEB_SITE="http://$PACKAGE.sourceforge.net/"
9 DEPENDS="aufs-module"
10 BUILD_DEPENDS="cvs lzma"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cvsroot=anonymous@$PACKAGE.cvs.sourceforge.net:/cvsroot
16 if [ ! -d $src ]; then
17 cvs -z3 -d:pserver:$cvsroot/$PACKAGE co -D$VERSION $PACKAGE
18 mv $PACKAGE $src
19 fi
20 local kver
21 if [ ! -d ../linux/taz ]; then
22 tazwok cook linux
23 fi
24 kver=$(grep "kernel version" ../linux/linux-*/.config)
25 kver=${kver##* }
26 cd $src
27 ln -s $(cd ../../linux/linux-$kver* ; pwd)/include/linux/* include/linux
28 make KDIR=$(cd ../../linux/linux-$kver* ; pwd) -f local.mk
29 mkdir -p _pkg/lib/modules/$kver-slitaz/kernel/fs/aufs/ _pkg/sbin
30 mkdir -p _pkg/etc/default
31 lzma e $(readlink aufs.ko) \
32 _pkg/lib/modules/$kver-slitaz/kernel/fs/aufs/aufs.ko.gz
33 cp util/etc_default_aufs _pkg/etc/default/aufs
34 chmod 644 _pkg/etc/default/aufs
35 echo FLUSH=ALL > _pkg/etc/default/auplink
36 for i in umount.aufs mount.aufs auplink aulchown aufind.sh auchk; do
37 cp $(readlink $i) _pkg/sbin
38 chmod 500 _pkg/sbin/$i
39 done
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cp -a $_pkg/sbin $_pkg/etc $fs
46 }