wok-next annotate kexec-tools/receipt @ rev 15227
libidn: remove wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 22 18:14:35 2013 +0200 (2013-09-22) |
parents | 08131ff0775f |
children | ead97edb5f62 |
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@15002 | 8 LICENSE="GPL2" |
pascal@14254 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@14254 | 10 WEB_SITE="ftp://ftp.kernel.org/pub/linux/utils/kernel/kexec/" |
pascal@14254 | 11 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@14254 | 12 |
pascal@14254 | 13 DEPENDS="zlib" |
pascal@14254 | 14 BUILD_DEPENDS="zlib-dev liblzma-dev" |
pascal@14254 | 15 |
pascal@14254 | 16 # Rules to configure and make the package. |
pascal@14254 | 17 compile_rules() |
pascal@14254 | 18 { |
pascal@14254 | 19 cd $src |
pascal@14254 | 20 export LDFLAGS="-lpthread" |
pascal@14254 | 21 ./configure prefix=/usr \ |
pascal@14254 | 22 --target=i386-linux && |
pascal@14254 | 23 make && |
pascal@14254 | 24 make DESTDIR=$DESTDIR install |
pascal@14254 | 25 } |
pascal@14254 | 26 |
pascal@14254 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14254 | 28 genpkg_rules() |
pascal@14254 | 29 { |
pascal@14254 | 30 cp -a $install/usr $fs |
pascal@14254 | 31 rm -rf $fs/usr/share |
pascal@14254 | 32 } |
pascal@14254 | 33 |