wok-stable view aufs/receipt @ rev 2676

Add Sonata and python-mpd
author Rohit Joshi <jozee@slitaz.org>
date Tue Apr 21 12:49:09 2009 +0000 (2009-04-21)
parents f8b7522f8eb2
children
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@slitaz.org"
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/$(ls ../linux/taz)/.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 }