wok-current annotate linux-libre-source/receipt @ rev 21661
updated pass (1.6.5 -> 1.7.3)
| author | Hans-Günter Theisgen |
|---|---|
| date | Sat Jun 01 10:26:51 2019 +0100 (2019-06-01) |
| parents | ad59999b3fce |
| children |
| rev | line source |
|---|---|
| gokhlayeh@9257 | 1 # SliTaz package receipt. |
| gokhlayeh@9257 | 2 |
| gokhlayeh@9257 | 3 PACKAGE="linux-libre-source" |
| pascal@20604 | 4 VERSION="3.18.129-gnu" |
| gokhlayeh@9257 | 5 CATEGORY="development" |
| gokhlayeh@9257 | 6 SHORT_DESC="The Linux Libre kernel source files." |
| gokhlayeh@9257 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
| pascal@14657 | 8 LICENSE="GPL2" |
| gokhlayeh@9257 | 9 PROVIDE="linux-source" |
| gokhlayeh@9257 | 10 WANTED="linux-libre" |
| gokhlayeh@9257 | 11 WEB_SITE="http://www.fsfla.org/svnwiki/selibre/linux-libre/" |
| gokhlayeh@9257 | 12 DEPENDS="linux-libre slitaz-toolchain ncurses-dev perl" |
| gokhlayeh@9257 | 13 |
| gokhlayeh@9257 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
| gokhlayeh@9257 | 15 genpkg_rules() |
| gokhlayeh@9257 | 16 { |
| gokhlayeh@9257 | 17 mkdir -p $fs/usr/src/kernel-patches \ |
| gokhlayeh@9257 | 18 $fs/lib/modules/$VERSION-slitaz \ |
| gokhlayeh@9257 | 19 $fs/usr/bin |
| gokhlayeh@9257 | 20 cp -a $WOK/$WANTED/slitaz $fs/usr/src/kernel-patches |
| gokhlayeh@9257 | 21 cp -a stuff/buildtaz $fs/usr/src/kernel-patches/slitaz |
| gokhlayeh@9257 | 22 cp -a stuff/make-tazpkg.u $fs/usr/src/kernel-patches/slitaz |
| gokhlayeh@9257 | 23 cp -a stuff/get-linux-source $fs/usr/bin |
| gokhlayeh@9257 | 24 sed -i "s|=XXX|=$VERSION|g" $fs/usr/bin/get-linux-source |
| gokhlayeh@9257 | 25 ln -s /usr/src/linux-$VERSION \ |
| gokhlayeh@9257 | 26 $fs/lib/modules/$VERSION-slitaz/source |
| gokhlayeh@9257 | 27 } |