aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnu-efi/APKBUILD
blob: 8d5725926d1abbb65507b6318110a6de80d5c0b7 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnu-efi
pkgver=3.0u
pkgrel=0
pkgdesc="Development Libraries and headers for EFI"
url="ftp://ftp.hpl.hp.com/pub/linux-ia64"
arch="x86 x86_64"
license="BSD "
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/project/gnu-efi/gnu-efi_$pkgver.orig.tar.gz"

_builddir="$srcdir"/gnu-efi-${pkgver%[a-z]}
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
}

build() {
	cd "$_builddir"
	make -j1 || return 1
}

package() {
	cd "$_builddir"
	make PREFIX=/usr INSTALLROOT="$pkgdir" install || return 1
}

md5sums="d15d3c700e79a1e2938544d73edc572d  gnu-efi_3.0u.orig.tar.gz"
sha256sums="3c0d450d5829204ca05dcb3b2aae772e52c379b7c7e09146759c6315606f934e  gnu-efi_3.0u.orig.tar.gz"
sha512sums="77224d555befb96b14c20a3a39aacb50ed2db9dfff0c112113c3fb211152106f76cf278b4d37b4251e9f83327c7fd59319e6dee802c97d3bfa7308f7c43b34e3  gnu-efi_3.0u.orig.tar.gz"