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