2014-09-05 13:26:39 +02:00
|
|
|
# Template file for 'gummiboot'
|
|
|
|
pkgname=gummiboot
|
|
|
|
version=45
|
2014-09-06 10:05:23 +02:00
|
|
|
revision=3
|
2014-09-05 13:26:39 +02:00
|
|
|
build_style=gnu-configure
|
2014-09-06 09:59:02 +02:00
|
|
|
hostmakedepends="automake pkg-config libxslt docbook-xsl"
|
2014-09-05 13:26:39 +02:00
|
|
|
makedepends="gnu-efi-libs liblzma-devel libblkid-devel"
|
|
|
|
short_desc="Simple UEFI Boot Manager"
|
|
|
|
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
|
|
|
homepage="http://freedesktop.org/wiki/Software/gummiboot"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
distfiles="http://cgit.freedesktop.org/${pkgname}/snapshot/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=78f47105bab676b8ff2d19c1deedaa4c371f10e4fd49059f9d588c6f97544a9b
|
|
|
|
only_for_archs="i686 x86_64"
|
|
|
|
|
2014-09-06 09:59:02 +02:00
|
|
|
configure_args="--with-efi-ldsdir=${XBPS_CROSS_BASE}/usr/lib
|
2014-09-05 13:26:39 +02:00
|
|
|
--with-efi-libdir=${XBPS_CROSS_BASE}/usr/lib
|
|
|
|
--with-efi-includedir=${XBPS_CROSS_BASE}/usr/include"
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
./autogen.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall ${FILESDIR}/kernel.d/gummiboot.post-install 750 \
|
|
|
|
etc/kernel.d/post-install 50-gummiboot
|
|
|
|
vinstall ${FILESDIR}/kernel.d/gummiboot.post-remove 750 \
|
|
|
|
etc/kernel.d/post-remove 50-gummiboot
|
|
|
|
}
|