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