wok-next view kexec-tools/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
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 }