wok annotate kexec-tools/receipt @ rev 14449
Up: dwm (6.0)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Apr 27 02:46:31 2013 +0200 (2013-04-27) |
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 |