wok view kexec-tools/receipt @ rev 14300
Up: efreet (1.7.5)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Apr 07 10:12:30 2013 +0200 (2013-04-07) |
parents | |
children | 7896f0694ef6 |
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 TARBALL="$PACKAGE-$VERSION.tar.xz"
9 WEB_SITE="ftp://ftp.kernel.org/pub/linux/utils/kernel/kexec/"
10 WGET_URL="${WEB_SITE}$TARBALL"
12 DEPENDS="zlib"
13 BUILD_DEPENDS="zlib-dev liblzma-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 export LDFLAGS="-lpthread"
20 ./configure prefix=/usr \
21 --target=i386-linux &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/usr $fs
30 rm -rf $fs/usr/share
31 }