wok-6.x rev 24700

updated kexec-tools (2.0.17 -> 2.0.23)
author Hans-G?nter Theisgen
date Mon Mar 14 07:45:56 2022 +0100 (2022-03-14)
parents 1a39a3d55d0e
children 7d684b96da5f
files kexec-tools/description.txt kexec-tools/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/kexec-tools/description.txt	Mon Mar 14 07:45:56 2022 +0100
     1.3 @@ -0,0 +1,1 @@
     1.4 +Kexec is a soft-reboot and crash-dump facility provided by both Linux and Xen.
     2.1 --- a/kexec-tools/receipt	Sun Mar 13 19:47:29 2022 +0000
     2.2 +++ b/kexec-tools/receipt	Mon Mar 14 07:45:56 2022 +0100
     2.3 @@ -1,18 +1,20 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="kexec-tools"
     2.7 -VERSION="2.0.17"
     2.8 +VERSION="2.0.23"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="Directly boot into a new kernel."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="GPL2"
    2.13 +WEB_SITE="https://www.kernel.org/pub/linux/utils/kernel/kexec/"
    2.14 +
    2.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.16 -WEB_SITE="https://www.kernel.org/pub/linux/utils/kernel/kexec/"
    2.17  WGET_URL="${WEB_SITE}$TARBALL"
    2.18 -HOST_ARCH="i486 arm x86_64"
    2.19  
    2.20  DEPENDS="zlib"
    2.21 -BUILD_DEPENDS="wget zlib-dev liblzma-dev"
    2.22 +BUILD_DEPENDS="liblzma-dev zlib-dev"
    2.23 +
    2.24 +HOST_ARCH="i486 arm x86_64"
    2.25  
    2.26  # What is the latest version available today?
    2.27  current_version()
    2.28 @@ -25,6 +27,7 @@
    2.29  compile_rules()
    2.30  {
    2.31  	export LDFLAGS="$LDFLAGS -lpthread"
    2.32 +
    2.33  	case "$ARCH" in
    2.34  	i?86)
    2.35  		./configure prefix=/usr \
    2.36 @@ -37,7 +40,7 @@
    2.37  			--host=$HOST_SYSTEM ;;
    2.38  	esac &&
    2.39  	make &&
    2.40 -	make DESTDIR=$DESTDIR install
    2.41 +	make install DESTDIR=$DESTDIR
    2.42  }
    2.43  
    2.44  # Important cross compiled package so run readelf.
    2.45 @@ -50,6 +53,6 @@
    2.46  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.47  genpkg_rules()
    2.48  {
    2.49 -	cp -a $install/usr $fs
    2.50 -	rm -rf $fs/usr/share
    2.51 +	cook_copy_folders	lib
    2.52 +	cook_copy_folders	sbin
    2.53  }