wok annotate pxe-kexec/receipt @ rev 16400

pxe-kexec: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 16 10:06:59 2014 +0000 (2014-04-16)
parents 46bbbdff805b
children 280066b56ced
rev   line source
pascal@16399 1 # SliTaz package receipt.
pascal@16399 2
pascal@16399 3 PACKAGE="pxe-kexec"
pascal@16399 4 VERSION="0.2.5"
pascal@16399 5 CATEGORY="misc"
pascal@16399 6 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16399 7 SHORT_DESC="Boots linux with kexec using pxelinux configuration."
pascal@16399 8 LICENSE="GPL2"
pascal@16399 9 WEB_SITE="http://pxe-kexec.berlios.de/"
pascal@16399 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@16399 11 WGET_URL="$SF_MIRROR/$PACKAGE.berlios/$TARBALL"
pascal@16399 12
pascal@16400 13 DEPENDS="curl readline kexec-tools gcc-lib-base"
pascal@16399 14 BUILD_DEPENDS="cmake curl-dev"
pascal@16399 15
pascal@16399 16 # Rules to configure and make the package.
pascal@16399 17 compile_rules()
pascal@16399 18 {
pascal@16399 19 mkdir build
pascal@16399 20 cd build
pascal@16399 21 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
pascal@16399 22 make &&
pascal@16399 23 make DESTDIR=$DESTDIR install
pascal@16399 24 }
pascal@16399 25
pascal@16399 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16399 27 genpkg_rules()
pascal@16399 28 {
pascal@16399 29 mkdir -p $fs/usr
pascal@16399 30 cp -a $install/usr/sbin $fs/usr
pascal@16399 31 }