wok rev 2291
Up: compcache (0.5.1) + typo fix
author | Fabrice THIROUX <mimas@slitaz.org> |
---|---|
date | Sun Feb 22 11:19:51 2009 +0100 (2009-02-22) |
parents | 9668cfe8bcf6 |
children | 776e2d3f8c05 |
files | compcache/receipt compcache/stuff/compcache |
line diff
1.1 --- a/compcache/receipt Sun Feb 22 11:16:18 2009 +0100 1.2 +++ b/compcache/receipt Sun Feb 22 11:19:51 2009 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="compcache" 1.7 -VERSION="0.4" 1.8 +VERSION="0.5.1" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Compressed caching" 1.11 MAINTAINER="fabrice.thiroux@free.fr" 1.12 @@ -19,7 +19,7 @@ 1.13 tazwok cook linux 1.14 fi 1.15 cd $src 1.16 - find -name Makefile | xargs sed -i \ 1.17 + find -name Makefile | xargs sed -i \ 1.18 "s|/lib/modules/\$(shell uname -r)/build|$WOK/linux/linux-$KERNEL_VERSION|" 1.19 make KBUILD=$WOK/linux/linux-$KERNEL_VERSION KVER=$KERNEL_VERSION 1.20 } 1.21 @@ -32,16 +32,16 @@ 1.22 1.23 mkdir -p $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc $fs/etc/init.d 1.24 1.25 - install -o root -m 755 $src/compcache.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc 1.26 - install -o root -m 755 $src/sub-projects/allocators/tlsf-kmod/tlsf.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc 1.27 - install -o root -m 755 $src/sub-projects/compression/lzo-kmod/lzo1x_compress.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc 1.28 - install -o root -m 755 $src/sub-projects/compression/lzo-kmod/lzo1x_decompress.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc 1.29 + install -o root -m 644 $src/compcache.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc 1.30 + install -o root -m 644 $src/sub-projects/allocators/xvmalloc-kmod/xvmalloc.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc 1.31 + install -o root -m 644 $src/sub-projects/compression/lzo-kmod/lzo1x_compress.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc 1.32 + install -o root -m 644 $src/sub-projects/compression/lzo-kmod/lzo1x_decompress.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc 1.33 1.34 - for i in $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc/*.ko ; do 1.35 - lzma e $i $i.gz && rm -f $i 1.36 + for i in $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc/*.ko ; do 1.37 + lzma e $i $i.gz && rm -f $i 1.38 done 1.39 install -o root -m 755 ./stuff/compcache $fs/etc/init.d/ 1.40 - install -o root -m 755 ./stuff/compcache.conf $fs/etc/ 1.41 + install -o root -m 644 ./stuff/compcache.conf $fs/etc/ 1.42 } 1.43 1.44 post_install()
2.1 --- a/compcache/stuff/compcache Sun Feb 22 11:16:18 2009 +0100 2.2 +++ b/compcache/stuff/compcache Sun Feb 22 11:19:51 2009 +0100 2.3 @@ -4,9 +4,9 @@ 2.4 # with /etc/daemons.conf 2.5 # 2.6 . /etc/init.d/rc.functions 2.7 -. /etc/compcache.conf 2.8 +source /etc/compcache.conf 2.9 2.10 -NAME=COMPCACHE 2.11 +NAME="compcache" 2.12 EXIST=`cat /proc/swaps | grep ramzswap0` 2.13 2.14 case "$1" in 2.15 @@ -31,7 +31,7 @@ 2.16 swapoff /dev/ramzswap0 2.17 status 2.18 echo -n "Unloding modules" 2.19 - rmmod compcache lzo1x_compress lzo1x_decompress tlsf 2.20 + rmmod compcache lzo1x_compress lzo1x_decompress xvmalloc 2.21 status 2.22 ;; 2.23 *)