wok-6.x view linux-libre-toshiba/receipt @ rev 20003
Up: get-palemoon v27.3 to v27.4 :: Package link has been updated. Thanks Ceel.
author | Leonardo Laporte <hackdorte@yandex.com> |
---|---|
date | Sun Jul 30 23:18:29 2017 -0300 (2017-07-30) |
parents | ad59999b3fce |
children | 9e8d7fd12ee2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-libre-toshiba"
4 VERSION="2.6.37-gnu"
5 CATEGORY="base-system"
6 SHORT_DESC="The Linux Libre kernel toshiba module."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL2"
9 PROVIDE="linux-toshiba"
10 DEPENDS="linux-libre"
11 WANTED="linux-libre"
12 WEB_SITE="http://www.fsfla.org/svnwiki/selibre/linux-libre/"
14 # Modules paths and list
15 MOD_PATH="lib/modules/$VERSION-slitaz/kernel"
16 MODULES="drivers/char/toshiba.ko.gz"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 mkdir -p ${fs}${MOD_PATH}
22 for module in $MODULES
23 do
24 dir=$MOD_PATH/$(dirname $module)
25 [ -d $fs/$dir ] || mkdir -p $fs/$dir
26 cp -a $install/$MOD_PATH/$module $fs/$dir
27 done
28 }
30 # Post install/remove commands for Tazpkg.
31 post_install()
32 {
33 chroot "$1/" depmod -a $VERSION-slitaz
34 }
36 post_remove()
37 {
38 chroot "$1/" depmod -a $VERSION-slitaz
39 }