wok-next view kexec-tools/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents d43bf7aae921
children
line source
1 # SliTaz package receipt.
3 PACKAGE="kexec-tools"
4 VERSION="2.0.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Directly boot into a new kernel"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://mirrors.edge.kernel.org/pub/linux/utils/kernel/kexec/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 BUILD_DEPENDS="zlib-dev xz-dev"
16 compile_rules() {
17 export LDFLAGS="$LDFLAGS -lpthread"
18 case "$ARCH" in
19 i?86)
20 ./configure \
21 prefix=/usr \
22 --target=i386-linux
23 ;;
24 *)
25 ./configure \
26 prefix=/usr \
27 $CONFIGURE_ARGS
28 ;;
29 esac &&
30 make &&
31 make DESTDIR=$install install
32 }
34 testsuite() {
35 cd $install
36 readelf -h usr/sbin/kexec
37 }
39 genpkg_rules() {
40 cp -a $install/usr $fs
41 rm -rf $fs/usr/share
42 DEPENDS="zlib"
43 }