wok-tiny diff module-hfsplus/receipt @ rev 94

Refresh, remove kernel*, add linux
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 02 21:45:05 2015 +0200 (2015-10-02)
parents a6d2ddc65590
children c9e797b1bf36
line diff
     1.1 --- a/module-hfsplus/receipt	Fri Jul 05 13:51:26 2013 +0200
     1.2 +++ b/module-hfsplus/receipt	Fri Oct 02 21:45:05 2015 +0200
     1.3 @@ -1,23 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="module-hfsplus"
     1.7 -VERSION="2.6.37"
     1.8 +VERSION="2.6.14"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="Kernel module for the hfsplus filesystem"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13  WEB_SITE="http://tiny.slitaz.org/"
    1.14 -WANTED="kernel-modular"
    1.15 +WANTED="linux"
    1.16  CONFIG_FILES="/etc/filesystems"
    1.17  
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.19  genpkg_rules()
    1.20  {
    1.21  	local path
    1.22 -	path=lib/modules/$VERSION-slitaz/kernel
    1.23 +	export src=$WOK/$WANTED/source/linux-$VERSION
    1.24 +	export _pkg=$WOK/$WANTED/install
    1.25 +	path=lib/modules/$(ls $_pkg/lib/modules)/kernel
    1.26  	mkdir -p $fs/$path $fs/etc
    1.27 -	export src=$WOK/$WANTED/linux-$VERSION
    1.28 -	export _pkg=$src/_pkg
    1.29  	$src/slitaz/list_modules.sh fs/${PACKAGE#*-} | while read module; do
    1.30  		dir=$path/$(dirname $module)
    1.31  		[ -d $fs/$dir ] || mkdir -p $fs/$dir
    1.32 @@ -29,7 +29,7 @@
    1.33  # Post install/remove commands for Tazpkg.
    1.34  post_install()
    1.35  {
    1.36 +	echo ${PACKAGE#*-} >> $1/modules
    1.37  	grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
    1.38  		echo "${PACKAGE#*-}" >> $1/etc/filesystems
    1.39 -	chroot "$1/" depmod -a $VERSION-slitaz
    1.40  }