void-packages/srcpkgs/gummiboot/template

30 lines
1010 B
Bash
Raw Normal View History

2014-09-05 13:26:39 +02:00
# Template file for 'gummiboot'
pkgname=gummiboot
2015-01-30 22:43:20 +01:00
version=48
2015-05-11 09:32:12 +02:00
revision=2
2014-09-05 13:26:39 +02:00
build_style=gnu-configure
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>"
license="LGPL-2.1"
2014-11-03 12:31:59 +01:00
homepage="http://freedesktop.org/wiki/Software/gummiboot"
2014-09-05 13:26:39 +02:00
distfiles="http://cgit.freedesktop.org/${pkgname}/snapshot/${pkgname}-${version}.tar.gz"
2015-01-30 22:43:20 +01:00
checksum=ea228571d962be6a06a64291e507e9cfe4ef0f46acfacc0677f211d1ced458d6
2015-05-11 09:33:57 +02:00
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
2014-09-05 13:26:39 +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
}