void-packages/srcpkgs/gummiboot/template
Lugubris d78cb0d201 Drop maintainership of orphaned packages
some packages were dropped but their maintainer= was not updated in template.
this will help new maintainers adopt these packages.

-> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
2019-08-25 21:16:43 +02:00

33 lines
1.1 KiB
Bash

# Template file for 'gummiboot'
pkgname=gummiboot
version=48.1
revision=3
archs="i686* x86_64* aarch64*"
build_style=gnu-configure
hostmakedepends="automake pkg-config libxslt docbook-xsl"
makedepends="gnu-efi-libs liblzma-devel libblkid-devel"
short_desc="Simple UEFI Boot Manager"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.0-or-later"
# Homepage is long dead and the project has an unofficial release under Alpine
# homepage="http://freedesktop.org/wiki/Software/gummiboot"
homepage="https://pkgs.alpinelinux.org/package/edge/main/x86/gummiboot"
distfiles="https://dev.alpinelinux.org/archive/gummiboot/gummiboot-${version}.tar.gz"
checksum=2b649a6eb22007cd34bb355ba4ca6c1a8058e115c13048985f09a0f11f3d5295
CFLAGS="-std=gnu89"
configure_args="--with-efi-ldsdir=${XBPS_CROSS_BASE}/usr/lib
--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
}