wok view linux-libre-source/receipt @ rev 23607
Up slitaz-boot-scripts (459)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 12 10:18:55 2020 +0000 (2020-04-12) |
parents | ad59999b3fce |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="linux-libre-source"
4 VERSION="3.18.129-gnu"
5 CATEGORY="development"
6 SHORT_DESC="The Linux Libre kernel source files."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL2"
9 PROVIDE="linux-source"
10 WANTED="linux-libre"
11 WEB_SITE="http://www.fsfla.org/svnwiki/selibre/linux-libre/"
12 DEPENDS="linux-libre slitaz-toolchain ncurses-dev perl"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/src/kernel-patches \
18 $fs/lib/modules/$VERSION-slitaz \
19 $fs/usr/bin
20 cp -a $WOK/$WANTED/slitaz $fs/usr/src/kernel-patches
21 cp -a stuff/buildtaz $fs/usr/src/kernel-patches/slitaz
22 cp -a stuff/make-tazpkg.u $fs/usr/src/kernel-patches/slitaz
23 cp -a stuff/get-linux-source $fs/usr/bin
24 sed -i "s|=XXX|=$VERSION|g" $fs/usr/bin/get-linux-source
25 ln -s /usr/src/linux-$VERSION \
26 $fs/lib/modules/$VERSION-slitaz/source
27 }