blob: 3c3996e4282c45bac59441842637100d62a65002 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gummiboot
pkgver=42
pkgrel=0
pkgdesc="Simple EFI Boot Manager"
url="http://freedesktop.org/wiki/Software/gummiboot"
arch="all"
license="LGPLv2+"
depends=""
depends_dev="util-linux-dev"
makedepends="$depends_dev gnu-efi-dev autoconf automake docbook-xsl libxslt"
install=""
subpackages="$pkgname-doc"
#source="http://cgit.freedesktop.org/gummiboot/snapshot/gummiboot-$pkgver.tar.gz"
source="http://dev.alpinelinux.org/archive/gummiboot/gummiboot-$pkgver.tar.gz"
_builddir="$srcdir"/gummiboot-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
if ! [ -f ./configure ]; then
./autogen.sh
fi
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make
}
package() {
cd "$_builddir"
make install DESTDIR="$pkgdir" || return 1
}
md5sums="417d612a8b2e6e259a7c6df0b3ae4670 gummiboot-42.tar.gz"
sha256sums="e3a40bd68d1ebcba60b0562564a61963544bde7e04c394743853dbd5ff3aa4f7 gummiboot-42.tar.gz"
sha512sums="ee6f85eb7e20d9ed2c1fc6d4d5ef1def4f0335ee43d231d36597629fa8d5ea2861a7432c1274f09e0e52e04ed398aa66c543348bc7ab9c4004e41a06f4dc7d44 gummiboot-42.tar.gz"
|