wok-current view linux-libre-toshiba/receipt @ rev 20920
updated flake8 (2.2.4 -> 3.7.7)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 01 17:30:52 2019 +0100 (2019-03-01) |
parents | 051931e905b0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-libre-toshiba"
4 VERSION="3.18.129-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.xz"
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 }