wok-next view linux-libre-video/receipt @ rev 14800
xz: remove liblzma
| author | Pascal Bellard <pascal.bellard@slitaz.org> | 
|---|---|
| date | Sat Jul 13 16:21:42 2013 +0200 (2013-07-13) | 
| parents | 03a6791abff6 | 
| children | 051931e905b0 | 
 line source
     1 # SliTaz package receipt.
     3 PACKAGE="linux-libre-video"
     4 VERSION="2.6.37-gnu"
     5 CATEGORY="base-system"
     6 SHORT_DESC="The Linux Libre kernel video modules."
     7 MAINTAINER="gokhlayeh@slitaz.org"
     8 LICENSE="GPL2"
     9 PROVIDE="linux-video"
    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/video/backlight/lcd.ko.gz
    17 drivers/video/backlight/generic_bl.ko.gz
    18 drivers/gpio/bt8xxgpio.ko.gz"
    20 # Rules to gen a SliTaz package suitable for Tazpkg.
    21 genpkg_rules()
    22 {
    23 	mkdir -p ${fs}${MOD_PATH}
    24 	for module in $MODULES
    25 	do
    26 		dir=$MOD_PATH/$(dirname $module)
    27 		[ -d $fs/$dir ] || mkdir -p $fs/$dir
    28 		cp -a $_pkg/$MOD_PATH/$module $fs/$dir
    29 	done
    30 }
    32 # Post install/remove commands for Tazpkg.
    33 post_install()
    34 {
    35 	chroot "$1/" depmod -a $VERSION-slitaz
    36 }
    38 post_remove()
    39 {
    40 	chroot "$1/" depmod -a $VERSION-slitaz
    41 }