wok-current annotate linux-source/receipt @ rev 6978
Fixed linux-source again. Forgot to make /usr/bin /folder. Most of my problem was that.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 28 06:31:21 2010 +0000 (2010-10-28) |
parents | 897eb75a6923 |
children | 833b334881d1 |
rev | line source |
---|---|
pascal@1093 | 1 # SliTaz package receipt. |
pascal@1093 | 2 |
pascal@1093 | 3 PACKAGE="linux-source" |
pankso@5640 | 4 VERSION="2.6.34" |
pascal@1093 | 5 CATEGORY="development" |
pascal@1093 | 6 SHORT_DESC="The Linux kernel source files." |
pankso@3864 | 7 MAINTAINER="devel@slitaz.org" |
pascal@1093 | 8 WANTED="linux" |
pascal@1093 | 9 WEB_SITE="http://www.kernel.org/" |
MikeDSmith25@1128 | 10 DEPENDS="linux slitaz-toolchain ncurses-dev perl" |
pascal@1093 | 11 |
pascal@1093 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1093 | 13 genpkg_rules() |
pascal@1093 | 14 { |
slaxemulator@6977 | 15 mkdir -p $fs/usr/src/kernel-patches \ |
slaxemulator@6978 | 16 $fs/lib/modules/$VERSION-slitaz \ |
slaxemulator@6978 | 17 $fs/usr/bin |
slaxemulator@6975 | 18 cp -a $src/slitaz $fs/usr/src/kernel-patches |
slaxemulator@6975 | 19 cp -a stuff/buildtaz $fs/usr/src/kernel-patches/slitaz |
slaxemulator@6975 | 20 cp -a stuff/make-tazpkg.u $fs/usr/src/kernel-patches/slitaz |
slaxemulator@6975 | 21 cp -a stuff/get-linux-source $fs/usr/bin |
slaxemulator@6978 | 22 sed -i "s|=XXX|=$VERSION|g" $1/usr/bin/get-linux-source |
pascal@4630 | 23 # Copy Aufs2 source files |
pascal@4630 | 24 if [ -d $WOK/$WANTED/aufs2 ]; then |
slaxemulator@6975 | 25 mkdir $fs/usr/src/kernel-patches/slitaz/aufs2 |
pascal@4630 | 26 cp -a $WOK/$WANTED/aufs2/Documentation \ |
pascal@4630 | 27 $WOK/$WANTED/aufs2/fs $WOK/$WANTED/aufs2/include \ |
slaxemulator@6975 | 28 $fs/usr/src/kernel-patches/slitaz/aufs2 |
pascal@4630 | 29 fi |
slaxemulator@6977 | 30 ln -s /usr/src/linux-$VERSION \ |
pascal@4630 | 31 $fs/lib/modules/$VERSION-slitaz/source |
pascal@1093 | 32 } |