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

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents c4e53a39395a
children d5aab818505e
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 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://www.kernel.org/pub/linux/utils/kernel/kexec/"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 DEPENDS="zlib"
14 BUILD_DEPENDS="zlib-dev xz-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="$LDFLAGS -lpthread"
20 case "$ARCH" in
21 i?86)
22 ./configure prefix=/usr \
23 --target=i386-linux ;;
24 *)
25 ./configure prefix=/usr \
26 --build=$BUILD_SYSTEM \
27 --host=$HOST_SYSTEM ;;
28 esac &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Important cross compiled package so run readelf.
34 testsuite()
35 {
36 cd $install
37 readelf -h usr/sbin/kexec
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cp -a $install/usr $fs
44 rm -rf $fs/usr/share
45 }