wok diff linux-acpi/receipt @ rev 1765
Up: pcre (7.8)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Nov 25 16:30:37 2008 +0100 (2008-11-25) |
parents | 998d2b306f24 |
children | 6b82b3287054 |
line diff
1.1 --- a/linux-acpi/receipt Wed Apr 09 17:18:31 2008 +0000 1.2 +++ b/linux-acpi/receipt Tue Nov 25 16:30:37 2008 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="linux-acpi" 1.7 -VERSION="2.6.24.2" 1.8 +VERSION="2.6.25.5" 1.9 CATEGORY="base-system" 1.10 SHORT_DESC="The Linux kernel acpi modules." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -14,17 +14,20 @@ 1.13 local path 1.14 path=lib/modules/$VERSION-slitaz/kernel 1.15 mkdir -p $fs/$path 1.16 + export src 1.17 + export _pkg 1.18 + $src/list_modules.sh drivers/acpi drivers/misc/thinkpad_acpi.ko.gz | \ 1.19 while read module; do 1.20 dir=$path/$(dirname $module) 1.21 [ -d $fs/$dir ] || mkdir -p $fs/$dir 1.22 cp -a $_pkg/$path/$module $fs/$dir 1.23 - done < stuff/modules-$VERSION.list 1.24 + done 1.25 } 1.26 1.27 # Post install/remove commands for Tazpkg. 1.28 post_install() 1.29 { 1.30 - depmod -a -b /$1 1.31 + depmod -a -b "$1/" $VERSION-slitaz 1.32 } 1.33 1.34 post_remove()