wok view linux64-zram/receipt @ rev 16876
Up atk atk-dev (2.12.0)
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sun Jul 13 13:56:20 2014 -0300 (2014-07-13) |
parents | 5ca86f3045d4 |
children | 889f25f00105 |
line source
1 # SliTaz package receipt.
3 PACKAGE="linux64-zram"
4 VERSION="3.2.53"
5 CATEGORY="base-system"
6 SHORT_DESC="Compressed caching"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.kernel.org/"
10 WANTED="linux"
11 PROVIDE="compcache linux-zram"
13 DEPENDS="linux64"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 local path
19 install=$install/linux64
20 path=lib/modules/$VERSION-slitaz/kernel
21 mkdir -p $fs/$path $fs/etc/init.d
22 export src
23 export install
24 $wanted_stuff/list_modules.sh drivers/staging/zram | \
25 while read module; do
26 dir=$path/$(dirname $module)
27 [ -d $fs/$dir ] || mkdir -p $fs/$dir
28 cp -a $install/$path/$module $fs/$dir
29 done
30 install -o root -m 755 $stuff/compcache $fs/etc/init.d/
31 install -o root -m 644 $stuff/compcache.conf $fs/etc/
32 }
34 # Post install/remove commands for Tazpkg.
35 post_install()
36 {
37 chroot "$root/" depmod -a $VERSION-slitaz
38 }
40 post_remove()
41 {
42 chroot "$root/" depmod -a $VERSION-slitaz
43 }