wok rev 16399
Add pxe-kexec
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 16 10:04:54 2014 +0000 (2014-04-16) |
parents | ead97edb5f62 |
children | ae06eb24c344 |
files | pxe-kexec/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pxe-kexec/receipt Wed Apr 16 10:04:54 2014 +0000 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="pxe-kexec" 1.7 +VERSION="0.2.5" 1.8 +CATEGORY="misc" 1.9 +MAINTAINER="pascal.bellard@slitaz.org" 1.10 +SHORT_DESC="Boots linux with kexec using pxelinux configuration." 1.11 +LICENSE="GPL2" 1.12 +WEB_SITE="http://pxe-kexec.berlios.de/" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WGET_URL="$SF_MIRROR/$PACKAGE.berlios/$TARBALL" 1.15 + 1.16 +DEPENDS="curl" 1.17 +BUILD_DEPENDS="cmake curl-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + mkdir build 1.23 + cd build 1.24 + cmake -DCMAKE_INSTALL_PREFIX=/usr .. && 1.25 + make && 1.26 + make DESTDIR=$DESTDIR install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr 1.33 + cp -a $install/usr/sbin $fs/usr 1.34 +}