wok-next view linux64-zram/receipt @ rev 19583
Up: cookutils, tazpkg, aufs, kmod, lguest, linux, linux64.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jan 02 07:42:47 2017 +0200 (2017-01-02) |
parents | 4197dd116ba7 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="linux64-zram"
4 VERSION="4.9.0"
5 CATEGORY="base-system"
6 SHORT_DESC="The Linux Kernel compressed caching support"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.kernel.org/"
10 CONFIG_FILES="/etc/compcache.conf"
11 PROVIDE="compcache:linux64 linux-zram:linux64"
13 WANTED="linux"
14 DEPENDS="linux64"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 . $wanted_stuff/copy_modules.sh
20 copy_modules drivers/block/zram
22 mkdir -p $fs/etc/init.d
23 install -o root -m 755 $stuff/compcache $fs/etc/init.d/
24 install -o root -m 644 $stuff/compcache.conf $fs/etc/
25 }
27 # Post install/remove commands for Tazpkg.
28 post_install()
29 {
30 cat <<EOT
32 You can add compressed swap according /etc/compcache.conf configuration with:
33 # /etc/init.d/compcache start
34 Or add compcache in the RUN_DAEMONS list of /etc/rcS.conf.
35 EOT
36 }