wok-next diff linux-dev/receipt @ rev 20322
Up TeXmacs (1.0.7.18), linux-dev (4.9.30)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 11 18:54:50 2017 +0100 (2017-11-11) |
parents | f463de72afe3 |
children | 2580cc4152a5 |
line diff
1.1 --- a/linux-dev/receipt Sun Jun 18 04:38:10 2017 +0300 1.2 +++ b/linux-dev/receipt Sat Nov 11 18:54:50 2017 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="linux-dev" 1.8 -VERSION="4.9.4" 1.9 +VERSION="4.9.30" 1.10 KBASEVER="4.9" 1.11 CATEGORY="development" 1.12 SHORT_DESC="Menu based tool to configure the Linux Kernel" 1.13 @@ -13,8 +13,10 @@ 1.14 WGET_URL="https://www.kernel.org/pub/linux/kernel/v4.x/$TARBALL" 1.15 1.16 DEPENDS="ncurses" 1.17 -BUILD_DEPENDS="ncurses-dev patch" 1.18 -SIBLINGS="linux linux-api-headers linux-man" 1.19 +BUILD_DEPENDS="python-sphinx perl xmlto util-linux-getopt docbook-xsl \ 1.20 +coreutils-operations findutils ncurses-dev patch bash" 1.21 +SPLIT="linux-dev linux-man linux-api-headers" 1.22 +SIBLINGS="linux" 1.23 COOKOPTS="!pngz !svgz !uiz" 1.24 1.25 if [ "$KBASEVER" != "${VERSION%.0}" ]; then 1.26 @@ -39,7 +41,9 @@ 1.27 . $WOK/linux/stuff/tools/aufs-patches 1.28 1.29 make defconfig 1.30 - make menuconfig 2>&1 | grep -v Error 1.31 + sed -i 's/^menuconfig:.*/z&\n\techo menuconfig is ready\n\n&/' \ 1.32 + scripts/kconfig/Makefile 1.33 + make zmenuconfig 1.34 1.35 p="$install/usr/src/linux-$VERSION-slitaz" 1.36 mkdir -p $p 1.37 @@ -54,10 +58,34 @@ 1.38 SRCARCH=x86 ARCH=i386 KERNELVERSION=$VERSION \$p/mconf Kconfig 1.39 EOT 1.40 chmod a+x $install/usr/bin/menuconfig 1.41 + 1.42 + patch -p1 -i $stuff/installmandocs.patch 1.43 + 1.44 + make mandocs && make installmandocs 1.45 + 1.46 + make mrproper && 1.47 + make headers_check && 1.48 + make INSTALL_HDR_PATH=$DESTDIR/usr headers_install 1.49 + 1.50 + find $install \( -name .install -o -name ..install.cmd \) -delete 1.51 } 1.52 1.53 + 1.54 # Rules to gen a SliTaz package suitable for Tazpkg. 1.55 genpkg_rules() 1.56 { 1.57 - copy Kconfig* mconf menuconfig .config 1.58 + case $PACKAGE in 1.59 + linux-dev) 1.60 + copy Kconfig* mconf menuconfig .config 1.61 + ;; 1.62 + linux-man) 1.63 + mkdir -p $fs/usr/share 1.64 + cp -a $install/usr/share/man $fs/usr/share 1.65 + ;; 1.66 + linux-api-headers) 1.67 + CAT="development|Kernel headers sanitized for use in userspace" 1.68 + PROVIDE="linux-headers linux64-api-headers linux64-headers" 1.69 + copy @dev 1.70 + ;; 1.71 + esac 1.72 }