wok-next annotate linux-ocfs2/receipt @ rev 13025
clucene-dev, clucene, drupal, fcitx-skin-default, fcitx-zm, gejengel, hd2u, input-utils, jdk6-jaf, jdk6-jaxp, jdk6-jaxws, kismet, libedit-dev, libedit, linux-module-headers, linux-ocfs2, linux-staging, linux64-ocfs2, linux64-staging, menu-railroad, nfs-utils, ode-dev, openjdk-6-src, runcom, talloc-python, vlc-plugin, xorg-xf86-video-neomagic: fix maintainer
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 11 17:36:31 2012 +0200 (2012-06-11) |
parents | 6f536abe4f0b |
children | 416fab3c90c0 |
rev | line source |
---|---|
pankso@12285 | 1 # SliTaz package receipt. |
pankso@12285 | 2 |
pankso@12285 | 3 PACKAGE="linux-ocfs2" |
pankso@12285 | 4 VERSION="3.2.14" |
pankso@12285 | 5 BASEVER="${VERSION:0:3}" |
pankso@12285 | 6 CATEGORY="base-system" |
pankso@12285 | 7 SHORT_DESC="ocfs2 filesystem" |
pascal@13025 | 8 MAINTAINER="slaxemulator@gmail.com" |
pankso@12285 | 9 WEB_SITE="http://kernel.org/" |
pankso@12285 | 10 WANTED="linux" |
pankso@12285 | 11 DEPENDS="linux" |
pankso@12285 | 12 |
pankso@12285 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12285 | 14 genpkg_rules() |
pankso@12285 | 15 { |
pankso@12285 | 16 local path |
pankso@12285 | 17 path=lib/modules/$BASEVER-slitaz/kernel |
pankso@12285 | 18 mkdir -p $fs/$path |
pankso@12285 | 19 |
pankso@12285 | 20 export src |
pankso@12285 | 21 export _pkg |
pankso@12285 | 22 |
pankso@12285 | 23 $wanted_stuff/list_modules.sh fs/ocfs2 | while read module; do |
pankso@12285 | 24 dir=$path/$(dirname $module) |
pankso@12285 | 25 [ -d $fs/$dir ] || mkdir -p $fs/$dir |
pankso@12285 | 26 cp -a $_pkg/$path/$module $fs/$dir |
pankso@12285 | 27 done |
pankso@12285 | 28 |
pankso@12285 | 29 for i in $(cat $wanted_stuff/modules.list); do |
pankso@12285 | 30 if [ -f $fs/$path/$i ]; then |
pankso@12285 | 31 rm -f $fs/$path/$i |
pankso@12285 | 32 fi |
pankso@12285 | 33 done |
pankso@12285 | 34 } |
pankso@12285 | 35 |
pankso@12285 | 36 # Post install/remove commands for Tazpkg. |
pankso@12285 | 37 post_install() |
pankso@12285 | 38 { |
pankso@12285 | 39 chroot "$1/" depmod -a $BASEVER-slitaz |
pankso@12285 | 40 } |
pankso@12285 | 41 |
pankso@12285 | 42 post_remove() |
pankso@12285 | 43 { |
pankso@12285 | 44 chroot "$1/" depmod -a $BASEVER-slitaz |
pankso@12285 | 45 } |