wok annotate linux64-zram/receipt @ rev 16822

get-opera: add ru locale
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Jul 11 14:56:46 2014 +0000 (2014-07-11)
parents 5ca86f3045d4
children 889f25f00105
rev   line source
pascal@13390 1 # SliTaz package receipt.
pascal@13390 2
pascal@13390 3 PACKAGE="linux64-zram"
pascal@15670 4 VERSION="3.2.53"
pascal@13390 5 CATEGORY="base-system"
pascal@13390 6 SHORT_DESC="Compressed caching"
pascal@13390 7 MAINTAINER="devel@slitaz.org"
pascal@14657 8 LICENSE="GPL2"
pascal@13390 9 WEB_SITE="http://www.kernel.org/"
pascal@13391 10 WANTED="linux"
pascal@13390 11 PROVIDE="compcache linux-zram"
pascal@13390 12
pascal@13391 13 DEPENDS="linux64"
pascal@13390 14
pascal@13390 15 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13390 16 genpkg_rules()
pascal@13390 17 {
pascal@13390 18 local path
pascal@16657 19 install=$install/linux64
pankso@15866 20 path=lib/modules/$VERSION-slitaz/kernel
pascal@13390 21 mkdir -p $fs/$path $fs/etc/init.d
pascal@13390 22 export src
pascal@16657 23 export install
pascal@13390 24 $wanted_stuff/list_modules.sh drivers/staging/zram | \
pascal@13390 25 while read module; do
pascal@13390 26 dir=$path/$(dirname $module)
pascal@13390 27 [ -d $fs/$dir ] || mkdir -p $fs/$dir
pascal@16657 28 cp -a $install/$path/$module $fs/$dir
pascal@13390 29 done
pascal@13390 30 install -o root -m 755 $stuff/compcache $fs/etc/init.d/
pascal@13390 31 install -o root -m 644 $stuff/compcache.conf $fs/etc/
pascal@13390 32 }
pascal@13390 33
pascal@13390 34 # Post install/remove commands for Tazpkg.
pascal@13390 35 post_install()
pascal@13390 36 {
pankso@15866 37 chroot "$root/" depmod -a $VERSION-slitaz
pascal@13390 38 }
pascal@13390 39
pascal@13390 40 post_remove()
pascal@13390 41 {
pankso@15866 42 chroot "$root/" depmod -a $VERSION-slitaz
pascal@13390 43 }
pascal@13390 44