wok-6.x diff linux-libre-source/receipt @ rev 13017
Up: mplayer (1.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 08 21:03:58 2012 +0200 (2012-06-08) |
parents | |
children | 03a6791abff6 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/linux-libre-source/receipt Fri Jun 08 21:03:58 2012 +0200 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="linux-libre-source" 1.7 +VERSION="2.6.37-libre" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="The Linux Libre kernel source files." 1.10 +MAINTAINER="gokhlayeh@slitaz.org" 1.11 +PROVIDE="linux-source" 1.12 +WANTED="linux-libre" 1.13 +WEB_SITE="http://www.fsfla.org/svnwiki/selibre/linux-libre/" 1.14 +DEPENDS="linux-libre slitaz-toolchain ncurses-dev perl" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + local _AUFSVER=`grep ^VERSION= $WOK/aufs/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 1.20 + local AUFSDIR="aufs-${_AUFSVER}" 1.21 + mkdir -p $fs/usr/src/kernel-patches \ 1.22 + $fs/lib/modules/$VERSION-slitaz \ 1.23 + $fs/usr/bin 1.24 + cp -a $WOK/$WANTED/slitaz $fs/usr/src/kernel-patches 1.25 + cp -a stuff/buildtaz $fs/usr/src/kernel-patches/slitaz 1.26 + cp -a stuff/make-tazpkg.u $fs/usr/src/kernel-patches/slitaz 1.27 + cp -a stuff/get-linux-source $fs/usr/bin 1.28 + sed -i "s|=XXX|=$VERSION|g" $fs/usr/bin/get-linux-source 1.29 + # Copy Aufs2 source files 1.30 + if [ -d $WOK/$WANTED/$AUFSDIR ]; then 1.31 + mkdir $fs/usr/src/kernel-patches/slitaz/aufs2 1.32 + cp -a $WOK/$WANTED/$AUFSDIR/Documentation \ 1.33 + $WOK/$WANTED/$AUFSDIR/fs $WOK/$WANTED/$AUFSDIR/include \ 1.34 + $fs/usr/src/kernel-patches/slitaz/aufs2 1.35 + fi 1.36 + ln -s /usr/src/linux-$VERSION \ 1.37 + $fs/lib/modules/$VERSION-slitaz/source 1.38 +}