wok view linux-source/receipt @ rev 7072
Up: PyQt-xll-gpl to 4.8.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Nov 02 14:04:14 2010 +0000 (2010-11-02) |
parents | e41f4574644b |
children | 5355ffc461cf |
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-source"
4 VERSION="2.6.34"
5 CATEGORY="development"
6 SHORT_DESC="The Linux kernel source files."
7 MAINTAINER="devel@slitaz.org"
8 WANTED="linux"
9 WEB_SITE="http://www.kernel.org/"
10 DEPENDS="linux slitaz-toolchain ncurses-dev perl"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/src/kernel-patches \
16 $fs/lib/modules/$VERSION-slitaz \
17 $fs/usr/bin
18 cp -a $src/slitaz $fs/usr/src/kernel-patches
19 cp -a stuff/buildtaz $fs/usr/src/kernel-patches/slitaz
20 cp -a stuff/make-tazpkg.u $fs/usr/src/kernel-patches/slitaz
21 cp -a stuff/get-linux-source $fs/usr/bin
22 sed -i "s|=XXX|=$VERSION|g" $fs/usr/bin/get-linux-source
23 # Copy Aufs2 source files
24 if [ -d $WOK/$WANTED/aufs2 ]; then
25 mkdir $fs/usr/src/kernel-patches/slitaz/aufs2
26 cp -a $WOK/$WANTED/aufs2/Documentation \
27 $WOK/$WANTED/aufs2/fs $WOK/$WANTED/aufs2/include \
28 $fs/usr/src/kernel-patches/slitaz/aufs2
29 fi
30 ln -s /usr/src/linux-$VERSION \
31 $fs/lib/modules/$VERSION-slitaz/source
32 }