wok-current annotate linux-crypto/receipt @ rev 928

Add linux-crypto, split linux-cryptoloop and linux-wireless
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 18 20:54:03 2008 +0000 (2008-06-18)
parents
children ff4745b2e54a
rev   line source
pascal@928 1 # SliTaz package receipt.
pascal@928 2
pascal@928 3 PACKAGE="linux-crypto"
pascal@928 4 VERSION="2.6.25.5"
pascal@928 5 CATEGORY="base-system"
pascal@928 6 SHORT_DESC="The Linux kernel crypto modules."
pascal@928 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@928 8 WANTED="linux"
pascal@928 9 WEB_SITE="http://www.kernel.org/"
pascal@928 10
pascal@928 11 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@928 12 genpkg_rules()
pascal@928 13 {
pascal@928 14 local path
pascal@928 15 path=lib/modules/$VERSION-slitaz/kernel
pascal@928 16 mkdir -p $fs/$path
pascal@928 17 export src
pascal@928 18 export _pkg
pascal@928 19 $src/list_modules.sh crypto | while read module; do
pascal@928 20 dir=$path/$(dirname $module)
pascal@928 21 [ -d $fs/$dir ] || mkdir -p $fs/$dir
pascal@928 22 cp -a $_pkg/$path/$module $fs/$dir
pascal@928 23 done
pascal@928 24 }
pascal@928 25
pascal@928 26 # Post install/remove commands for Tazpkg.
pascal@928 27 post_install()
pascal@928 28 {
pascal@928 29 depmod -a -b "$1/" $VERSION-slitaz
pascal@928 30 }
pascal@928 31
pascal@928 32 post_remove()
pascal@928 33 {
pascal@928 34 depmod -a $VERSION-slitaz
pascal@928 35 }
pascal@928 36