1 # Maintainer: Christian Hesse <mail@eworm.de>
6 pkgdesc="iPXE open source boot firmware - git checkout"
8 url="http://www.ipxe.org/"
14 _gitroot="git://git.ipxe.org/ipxe.git"
19 msg "Connecting to GIT server...."
21 if [ -d ${_gitname} ] ; then
22 cd ${_gitname} && git pull origin
23 msg "The local files are updated."
25 git clone ${_gitroot} ${_gitname}
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "${srcdir}/${_gitname}-build"
32 git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
33 cd "${srcdir}/${_gitname}-build/"
35 cd "${srcdir}/${_gitname}-build/src"
38 install -D -m644 bin/ipxe.dsk ${pkgdir}/usr/share/ipxe/ipxe.dsk
39 install -D -m644 bin/ipxe.usb ${pkgdir}/usr/share/ipxe/ipxe.usb
40 install -D -m644 bin/ipxe.iso ${pkgdir}/usr/share/ipxe/ipxe.iso
41 install -D -m644 bin/undionly.kpxe ${pkgdir}/usr/lib/ipxe/undionly.kpxe