wok-current diff linux-module-headers/receipt @ rev 16151
Add links-dfb (Links with DirectFB support)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 26 23:26:16 2014 +0100 (2014-03-26) |
parents | eb689de65d7e |
children | d963cb47d215 |
line diff
1.1 --- a/linux-module-headers/receipt Wed Dec 18 08:40:48 2013 +0000 1.2 +++ b/linux-module-headers/receipt Wed Mar 26 23:26:16 2014 +0100 1.3 @@ -2,7 +2,6 @@ 1.4 1.5 PACKAGE="linux-module-headers" 1.6 VERSION="3.2.53" 1.7 -BASEVER="${VERSION:0:3}" 1.8 CATEGORY="development" 1.9 SHORT_DESC="Header files and scripts for building modules for linux kernel." 1.10 MAINTAINER="devel@slitaz.org" 1.11 @@ -10,14 +9,14 @@ 1.12 DEPENDS="slitaz-toolchain" 1.13 WANTED="linux" 1.14 WEB_SITE="http://kernel.org/" 1.15 -KVERSION=$BASEVER-slitaz 1.16 +KVERSION=$VERSION-slitaz 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 - _AUFSVER=`grep ^VERSION= $WOK/aufs/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 1.23 - AUFSDIR="$WOK/$WANTED/aufs-${_AUFSVER}" 1.24 + AUFSVER=$(grep ^VERSION= $WOK/aufs/receipt | cut -d "=" -f2 | sed -e 's/"//g') 1.25 + AUFSDIR="$WOK/$WANTED/aufs-${AUFSVER}" 1.26 path=usr/src/linux-$KVERSION 1.27 mkdir -p $fs/lib/modules/$KVERSION 1.28 ln -sf /$path $fs/lib/modules/$KVERSION/build