diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-04 15:17:23 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-04 15:17:23 +0000 |
commit | 0c4155bedbaa886fa1e7eca058bc849f7443eca2 (patch) | |
tree | 13cce5e64fdfa75674d120047072cea3b481cb2b /main | |
parent | 826a14f13ee1fabeb973f094d17140a24fc429c5 (diff) | |
download | aports-0c4155bedbaa886fa1e7eca058bc849f7443eca2.tar.bz2 aports-0c4155bedbaa886fa1e7eca058bc849f7443eca2.tar.xz |
main/gnu-efi: moved from testing
Diffstat (limited to 'main')
-rw-r--r-- | main/gnu-efi/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/main/gnu-efi/APKBUILD b/main/gnu-efi/APKBUILD new file mode 100644 index 0000000000..8d5725926d --- /dev/null +++ b/main/gnu-efi/APKBUILD @@ -0,0 +1,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" |