wok-6.x diff kexec-tools/receipt @ rev 25442
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 02 16:30:36 2022 +0000 (2022-09-02) |
parents | 71360a13cd94 |
children |
line diff
1.1 --- a/kexec-tools/receipt Fri Jan 28 18:19:21 2022 +0000 1.2 +++ b/kexec-tools/receipt Fri Sep 02 16:30:36 2022 +0000 1.3 @@ -1,18 +1,20 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="kexec-tools" 1.7 -VERSION="2.0.17" 1.8 +VERSION="2.0.23" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Directly boot into a new kernel." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="https://www.kernel.org/pub/linux/utils/kernel/kexec/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.16 -WEB_SITE="https://www.kernel.org/pub/linux/utils/kernel/kexec/" 1.17 WGET_URL="${WEB_SITE}$TARBALL" 1.18 -HOST_ARCH="i486 arm x86_64" 1.19 1.20 DEPENDS="zlib" 1.21 -BUILD_DEPENDS="wget zlib-dev liblzma-dev" 1.22 +BUILD_DEPENDS="liblzma-dev zlib-dev" 1.23 + 1.24 +HOST_ARCH="i486 arm x86_64" 1.25 1.26 # What is the latest version available today? 1.27 current_version() 1.28 @@ -25,6 +27,7 @@ 1.29 compile_rules() 1.30 { 1.31 export LDFLAGS="$LDFLAGS -lpthread" 1.32 + 1.33 case "$ARCH" in 1.34 i?86) 1.35 ./configure prefix=/usr \ 1.36 @@ -37,7 +40,7 @@ 1.37 --host=$HOST_SYSTEM ;; 1.38 esac && 1.39 make && 1.40 - make DESTDIR=$DESTDIR install 1.41 + make install DESTDIR=$DESTDIR 1.42 } 1.43 1.44 # Important cross compiled package so run readelf. 1.45 @@ -50,6 +53,6 @@ 1.46 # Rules to gen a SliTaz package suitable for Tazpkg. 1.47 genpkg_rules() 1.48 { 1.49 - cp -a $install/usr $fs 1.50 - rm -rf $fs/usr/share 1.51 + cook_copy_folders lib 1.52 + cook_copy_folders sbin 1.53 }