wok-next view kexec-tools/receipt @ rev 16055
syslinux/iso2exe: fix 'a la tazusb' install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 11 15:44:47 2014 +0000 (2014-03-11) |
parents | 08131ff0775f |
children | ead97edb5f62 |
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="ftp://ftp.kernel.org/pub/linux/utils/kernel/kexec/"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 DEPENDS="zlib"
14 BUILD_DEPENDS="zlib-dev liblzma-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 export LDFLAGS="-lpthread"
21 ./configure prefix=/usr \
22 --target=i386-linux &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/usr $fs
31 rm -rf $fs/usr/share
32 }