wok-6.x annotate kexec-tools/receipt @ rev 14909
slitaz-i18n: add slitaz-configs as bdep; slitaz-configs: back openbox menu; locale-el, locale-ru: add keyboard layout icons; locale-fr, locale-hu, locale-pt_BR: recook with openbox menu.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 05 11:40:01 2013 +0300 (2013-08-05) |
parents | |
children | 7896f0694ef6 |
rev | line source |
---|---|
pascal@14254 | 1 # SliTaz package receipt. |
pascal@14254 | 2 |
pascal@14254 | 3 PACKAGE="kexec-tools" |
pascal@14254 | 4 VERSION="2.0.4" |
pascal@14254 | 5 CATEGORY="system-tools" |
pascal@14254 | 6 SHORT_DESC="Directly boot into a new kernel." |
pascal@14254 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14254 | 8 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@14254 | 9 WEB_SITE="ftp://ftp.kernel.org/pub/linux/utils/kernel/kexec/" |
pascal@14254 | 10 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@14254 | 11 |
pascal@14254 | 12 DEPENDS="zlib" |
pascal@14254 | 13 BUILD_DEPENDS="zlib-dev liblzma-dev" |
pascal@14254 | 14 |
pascal@14254 | 15 # Rules to configure and make the package. |
pascal@14254 | 16 compile_rules() |
pascal@14254 | 17 { |
pascal@14254 | 18 cd $src |
pascal@14254 | 19 export LDFLAGS="-lpthread" |
pascal@14254 | 20 ./configure prefix=/usr \ |
pascal@14254 | 21 --target=i386-linux && |
pascal@14254 | 22 make && |
pascal@14254 | 23 make DESTDIR=$DESTDIR install |
pascal@14254 | 24 } |
pascal@14254 | 25 |
pascal@14254 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14254 | 27 genpkg_rules() |
pascal@14254 | 28 { |
pascal@14254 | 29 cp -a $install/usr $fs |
pascal@14254 | 30 rm -rf $fs/usr/share |
pascal@14254 | 31 } |
pascal@14254 | 32 |