wok annotate linux-mmc/receipt @ rev 2924

epsilon, mplayer-svn, smplayer: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 07 07:54:25 2009 +0200 (2009-05-07)
parents
children f306d126580e
rev   line source
pascal@2162 1 # SliTaz package receipt.
pascal@2162 2
pascal@2162 3 PACKAGE="linux-mmc"
pascal@2162 4 VERSION="2.6.25.5"
pascal@2162 5 CATEGORY="base-system"
pascal@2162 6 SHORT_DESC="The Linux kernel mmc modules (card reader)."
pascal@2162 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@2162 8 WANTED="linux"
pascal@2162 9 WEB_SITE="http://www.kernel.org/"
pascal@2162 10
pascal@2162 11 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2162 12 genpkg_rules()
pascal@2162 13 {
pascal@2162 14 local path
pascal@2162 15 path=lib/modules/$VERSION-slitaz/kernel
pascal@2162 16 mkdir -p $fs/$path
pascal@2162 17 export src
pascal@2162 18 export _pkg
pascal@2162 19 $src/list_modules.sh drivers/mmc | while read module; do
pascal@2162 20 dir=$path/$(dirname $module)
pascal@2162 21 [ -d $fs/$dir ] || mkdir -p $fs/$dir
pascal@2162 22 cp -a $_pkg/$path/$module $fs/$dir
pascal@2162 23 done
pascal@2162 24 }
pascal@2162 25
pascal@2162 26 # Post install/remove commands for Tazpkg.
pascal@2162 27 post_install()
pascal@2162 28 {
pascal@2162 29 depmod -a -b "$1/" $VERSION-slitaz
pascal@2162 30 }
pascal@2162 31
pascal@2162 32 post_remove()
pascal@2162 33 {
pascal@2162 34 depmod -a $VERSION-slitaz
pascal@2162 35 }
pascal@2162 36