wok-4.x annotate linux-memstick/receipt @ rev 3662

Add: coreutils (all coreutils packaged in groups by function)
author Matthew Sheets <rcx@zoominternet.net>
date Wed Jul 08 15:50:51 2009 +0000 (2009-07-08)
parents f306d126580e
children 7df76f20d2c3
rev   line source
pascal@2161 1 # SliTaz package receipt.
pascal@2161 2
pascal@2161 3 PACKAGE="linux-memstick"
pascal@2990 4 VERSION="2.6.29.3"
pascal@2161 5 CATEGORY="base-system"
pascal@2161 6 SHORT_DESC="The Linux kernel sony memory stick modules."
pascal@2161 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@2926 8 DEPENDS="linux"
pascal@2161 9 WANTED="linux"
pascal@2161 10 WEB_SITE="http://www.kernel.org/"
pascal@2161 11
pascal@2161 12
pascal@2161 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2161 14 genpkg_rules()
pascal@2161 15 {
pascal@2161 16 local path
pascal@2161 17 path=lib/modules/$VERSION-slitaz/kernel
pascal@2161 18 mkdir -p $fs/$path
pascal@2161 19
pascal@2161 20 export src
pascal@2161 21 export _pkg
pascal@2161 22
pascal@2161 23 $src/list_modules.sh drivers/memstick | while read module; do
pascal@2161 24 dir=$path/$(dirname $module)
pascal@2161 25 [ -d $fs/$dir ] || mkdir -p $fs/$dir
pascal@2161 26 cp -a $_pkg/$path/$module $fs/$dir
pascal@2161 27 done
pascal@2161 28 }
pascal@2161 29
pascal@2161 30 # Post install/remove commands for Tazpkg.
pascal@2161 31 post_install()
pascal@2161 32 {
pascal@2990 33 chroot "$1/" depmod -a $VERSION-slitaz
pascal@2161 34 }
pascal@2161 35
pascal@2161 36 post_remove()
pascal@2161 37 {
pascal@2161 38 depmod -a $VERSION-slitaz
pascal@2161 39 }
pascal@2161 40