wok-6.x diff linux-source/receipt @ rev 12334

libxslt: Update build depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Apr 19 09:01:04 2012 +0000 (2012-04-19)
parents fe50a214f0c8
children 4071ceafdb03
line diff
     1.1 --- a/linux-source/receipt	Mon Mar 12 18:21:24 2012 +0100
     1.2 +++ b/linux-source/receipt	Thu Apr 19 09:01:04 2012 +0000
     1.3 @@ -1,7 +1,8 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="linux-source"
     1.7 -VERSION="2.6.37"
     1.8 +VERSION="3.2.14"
     1.9 +BASEVER="${VERSION:0:3}"
    1.10  CATEGORY="development"
    1.11  SHORT_DESC="The Linux kernel source files."
    1.12  MAINTAINER="devel@slitaz.org"
    1.13 @@ -15,12 +16,12 @@
    1.14  	local _AUFSVER=`grep  ^VERSION= $WOK/aufs/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
    1.15  	local AUFSDIR="aufs-${_AUFSVER}"
    1.16  	mkdir -p $fs/usr/src/kernel-patches \
    1.17 -			$fs/lib/modules/$VERSION-slitaz \
    1.18 +			$fs/lib/modules/$BASEVER-slitaz \
    1.19  			$fs/usr/bin
    1.20  	cp -a $WOK/$WANTED/slitaz $fs/usr/src/kernel-patches
    1.21 -	cp -a stuff/buildtaz $fs/usr/src/kernel-patches/slitaz
    1.22 -	cp -a stuff/make-tazpkg.u $fs/usr/src/kernel-patches/slitaz
    1.23 -	cp -a stuff/get-linux-source $fs/usr/bin
    1.24 +	cp -a $stuff/buildtaz $fs/usr/src/kernel-patches/slitaz
    1.25 +	cp -a $stuff/make-tazpkg.u $fs/usr/src/kernel-patches/slitaz
    1.26 +	cp -a $stuff/get-linux-source $fs/usr/bin
    1.27  	sed -i "s|=XXX|=$VERSION|g" $fs/usr/bin/get-linux-source
    1.28  	# Copy Aufs2 source files
    1.29  	if [ -d $WOK/$WANTED/$AUFSDIR ]; then
    1.30 @@ -30,15 +31,5 @@
    1.31  			$fs/usr/src/kernel-patches/slitaz/aufs2
    1.32  	fi
    1.33  	ln -s /usr/src/linux-$VERSION \
    1.34 -		$fs/lib/modules/$VERSION-slitaz/source
    1.35 +		$fs/lib/modules/$BASEVER-slitaz/source
    1.36  }
    1.37 -
    1.38 -# Pre and post install commands for Tazpkg.
    1.39 -post_install()
    1.40 -{
    1.41 -	cat <<EOT
    1.42 -Now you should get the linux kernel source files with :
    1.43 -
    1.44 -# get-linux-source
    1.45 -EOT
    1.46 -}