wok-next view kexec-tools/receipt @ rev 14790
Don't hard-code xterm, use configurable SliTaz terminal instead.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 08 12:03:41 2013 +0300 (2013-07-08) |
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 }