[arch-commits] Commit in gnu-efi-libs/repos (4 files)
Tobias Powalowski
tpowa at nymeria.archlinux.org
Fri Jun 21 19:30:06 UTC 2013
Date: Friday, June 21, 2013 @ 21:30:05
Author: tpowa
Revision: 188808
archrelease: copy trunk to testing-x86_64, testing-i686
Added:
gnu-efi-libs/repos/testing-i686/PKGBUILD
(from rev 188807, gnu-efi-libs/trunk/PKGBUILD)
gnu-efi-libs/repos/testing-x86_64/PKGBUILD
(from rev 188807, gnu-efi-libs/trunk/PKGBUILD)
Deleted:
gnu-efi-libs/repos/testing-i686/PKGBUILD
gnu-efi-libs/repos/testing-x86_64/PKGBUILD
-------------------------+
/PKGBUILD | 94 ++++++++++++++++++++++++++++++++++++++++++++++
testing-i686/PKGBUILD | 89 -------------------------------------------
testing-x86_64/PKGBUILD | 89 -------------------------------------------
3 files changed, 94 insertions(+), 178 deletions(-)
Deleted: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD 2013-06-21 19:29:42 UTC (rev 188807)
+++ testing-i686/PKGBUILD 2013-06-21 19:30:05 UTC (rev 188808)
@@ -1,89 +0,0 @@
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-# Contributor: Keshav Padram <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
-# Contributor: Alessio 'mOLOk' Bolognino <themolok at gmail.com>
-
-_pkgver="3.0"
-pkgname="gnu-efi-libs"
-pkgver="${_pkgver}u"
-pkgrel="1"
-pkgdesc="Library for building x86_64 and ia32 UEFI Applications using GNU toolchain"
-url="http://sourceforge.net/projects/gnu-efi/"
-license=('GPL')
-arch=('i686' 'x86_64')
-options=('!strip' '!makeflags')
-makedepends=('pciutils')
-
-if [[ "${CARCH}" == "x86_64" ]]; then
- makedepends+=('lib32-glibc' 'gcc-multilib')
-fi
-
-source=("http://download.sourceforge.net/gnu-efi/gnu-efi_${pkgver}.orig.tar.gz")
-md5sums=('d15d3c700e79a1e2938544d73edc572d')
-
-_build_gnu-efi-libs-x86_64() {
- cp -r "${srcdir}/gnu-efi-${_pkgver}" "${srcdir}/gnu-efi-${_pkgver}-x86_64"
- cd "${srcdir}/gnu-efi-${_pkgver}-x86_64/"
-
- unset CFLAGS
- unset CPPFLAGS
- unset CXXFLAGS
- unset LDFLAGS
- unset MAKEFLAGS
-
- make ARCH="x86_64" -j1
- make ARCH="x86_64" -j1 -C apps all
-}
-
-_build_gnu-efi-libs-ia32() {
- cp -r "${srcdir}/gnu-efi-${_pkgver}" "${srcdir}/gnu-efi-${_pkgver}-ia32"
- cd "${srcdir}/gnu-efi-${_pkgver}-ia32/"
-
- unset CFLAGS
- unset CPPFLAGS
- unset CXXFLAGS
- unset LDFLAGS
- unset MAKEFLAGS
-
- make ARCH="ia32" -j1
- make ARCH="ia32" -j1 -C apps all
-}
-
-build() {
- cd "${srcdir}/gnu-efi-${_pkgver}/"
-
- if [[ "${CARCH}" == "x86_64" ]]; then
- _build_gnu-efi-libs-x86_64
- fi
-
- _build_gnu-efi-libs-ia32
-}
-
-_package_gnu-efi-libs-x86_64() {
- cd "${srcdir}/gnu-efi-${_pkgver}-x86_64/"
-
- make ARCH="x86_64" INSTALLROOT="${pkgdir}" PREFIX="/usr" LIBDIR="/usr/lib" install
-
- install -d "${pkgdir}/usr/share/gnu-efi/apps/x86_64/"
- install -D -m0644 "${srcdir}/gnu-efi-${_pkgver}-x86_64/apps"/*.efi "${pkgdir}/usr/share/gnu-efi/apps/x86_64/"
-}
-
-_package_gnu-efi-libs-ia32() {
- cd "${srcdir}/gnu-efi-${_pkgver}-ia32/"
-
- make ARCH="ia32" INSTALLROOT="${pkgdir}" PREFIX="/usr" LIBDIR="/usr/${_LIBDIR32}" install
-
- install -d "${pkgdir}/usr/share/gnu-efi/apps/ia32/"
- install -D -m0644 "${srcdir}/gnu-efi-${_pkgver}-ia32/apps"/*.efi "${pkgdir}/usr/share/gnu-efi/apps/ia32/"
-}
-
-package() {
- if [[ "${CARCH}" == "x86_64" ]]; then
- _package_gnu-efi-libs-x86_64
-
- _LIBDIR32="lib32"
- _package_gnu-efi-libs-ia32
- else
- _LIBDIR32="lib"
- _package_gnu-efi-libs-ia32
- fi
-}
Copied: gnu-efi-libs/repos/testing-i686/PKGBUILD (from rev 188807, gnu-efi-libs/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-06-21 19:30:05 UTC (rev 188808)
@@ -0,0 +1,47 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Keshav Padram <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
+# Contributor: Alessio 'mOLOk' Bolognino <themolok at gmail.com>
+
+_pkgver="3.0"
+pkgname="gnu-efi-libs"
+pkgver="${_pkgver}u"
+pkgrel="2"
+pkgdesc="Library for building UEFI Applications using GNU toolchain"
+url="http://sourceforge.net/projects/gnu-efi/"
+license=('GPL')
+arch=('x86_64' 'i686')
+options=('!strip' '!makeflags')
+makedepends=('pciutils')
+
+source=("http://download.sourceforge.net/gnu-efi/gnu-efi_${pkgver}.orig.tar.gz")
+md5sums=('d15d3c700e79a1e2938544d73edc572d')
+
+[[ "${CARCH}" == "x86_64" ]] && _EFI_ARCH="x86_64"
+[[ "${CARCH}" == "i686" ]] && _EFI_ARCH="ia32"
+
+build() {
+
+ cd "${srcdir}/gnu-efi-${_pkgver}/"
+
+ ## Unset all compiler FLAGS
+ unset CFLAGS
+ unset CPPFLAGS
+ unset CXXFLAGS
+ unset LDFLAGS
+ unset MAKEFLAGS
+
+ make -j1
+ make -j1 -C apps all
+
+}
+
+package() {
+
+ cd "${srcdir}/gnu-efi-${_pkgver}/"
+
+ make INSTALLROOT="${pkgdir}" PREFIX="/usr" LIBDIR="/usr/lib" install
+
+ install -d "${pkgdir}/usr/share/gnu-efi/apps/${_EFI_ARCH}/"
+ install -D -m0644 "${srcdir}/gnu-efi-${_pkgver}/apps"/*.efi "${pkgdir}/usr/share/gnu-efi/apps/${_EFI_ARCH}/"
+
+}
Deleted: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD 2013-06-21 19:29:42 UTC (rev 188807)
+++ testing-x86_64/PKGBUILD 2013-06-21 19:30:05 UTC (rev 188808)
@@ -1,89 +0,0 @@
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-# Contributor: Keshav Padram <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
-# Contributor: Alessio 'mOLOk' Bolognino <themolok at gmail.com>
-
-_pkgver="3.0"
-pkgname="gnu-efi-libs"
-pkgver="${_pkgver}u"
-pkgrel="1"
-pkgdesc="Library for building x86_64 and ia32 UEFI Applications using GNU toolchain"
-url="http://sourceforge.net/projects/gnu-efi/"
-license=('GPL')
-arch=('i686' 'x86_64')
-options=('!strip' '!makeflags')
-makedepends=('pciutils')
-
-if [[ "${CARCH}" == "x86_64" ]]; then
- makedepends+=('lib32-glibc' 'gcc-multilib')
-fi
-
-source=("http://download.sourceforge.net/gnu-efi/gnu-efi_${pkgver}.orig.tar.gz")
-md5sums=('d15d3c700e79a1e2938544d73edc572d')
-
-_build_gnu-efi-libs-x86_64() {
- cp -r "${srcdir}/gnu-efi-${_pkgver}" "${srcdir}/gnu-efi-${_pkgver}-x86_64"
- cd "${srcdir}/gnu-efi-${_pkgver}-x86_64/"
-
- unset CFLAGS
- unset CPPFLAGS
- unset CXXFLAGS
- unset LDFLAGS
- unset MAKEFLAGS
-
- make ARCH="x86_64" -j1
- make ARCH="x86_64" -j1 -C apps all
-}
-
-_build_gnu-efi-libs-ia32() {
- cp -r "${srcdir}/gnu-efi-${_pkgver}" "${srcdir}/gnu-efi-${_pkgver}-ia32"
- cd "${srcdir}/gnu-efi-${_pkgver}-ia32/"
-
- unset CFLAGS
- unset CPPFLAGS
- unset CXXFLAGS
- unset LDFLAGS
- unset MAKEFLAGS
-
- make ARCH="ia32" -j1
- make ARCH="ia32" -j1 -C apps all
-}
-
-build() {
- cd "${srcdir}/gnu-efi-${_pkgver}/"
-
- if [[ "${CARCH}" == "x86_64" ]]; then
- _build_gnu-efi-libs-x86_64
- fi
-
- _build_gnu-efi-libs-ia32
-}
-
-_package_gnu-efi-libs-x86_64() {
- cd "${srcdir}/gnu-efi-${_pkgver}-x86_64/"
-
- make ARCH="x86_64" INSTALLROOT="${pkgdir}" PREFIX="/usr" LIBDIR="/usr/lib" install
-
- install -d "${pkgdir}/usr/share/gnu-efi/apps/x86_64/"
- install -D -m0644 "${srcdir}/gnu-efi-${_pkgver}-x86_64/apps"/*.efi "${pkgdir}/usr/share/gnu-efi/apps/x86_64/"
-}
-
-_package_gnu-efi-libs-ia32() {
- cd "${srcdir}/gnu-efi-${_pkgver}-ia32/"
-
- make ARCH="ia32" INSTALLROOT="${pkgdir}" PREFIX="/usr" LIBDIR="/usr/${_LIBDIR32}" install
-
- install -d "${pkgdir}/usr/share/gnu-efi/apps/ia32/"
- install -D -m0644 "${srcdir}/gnu-efi-${_pkgver}-ia32/apps"/*.efi "${pkgdir}/usr/share/gnu-efi/apps/ia32/"
-}
-
-package() {
- if [[ "${CARCH}" == "x86_64" ]]; then
- _package_gnu-efi-libs-x86_64
-
- _LIBDIR32="lib32"
- _package_gnu-efi-libs-ia32
- else
- _LIBDIR32="lib"
- _package_gnu-efi-libs-ia32
- fi
-}
Copied: gnu-efi-libs/repos/testing-x86_64/PKGBUILD (from rev 188807, gnu-efi-libs/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-06-21 19:30:05 UTC (rev 188808)
@@ -0,0 +1,47 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Keshav Padram <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
+# Contributor: Alessio 'mOLOk' Bolognino <themolok at gmail.com>
+
+_pkgver="3.0"
+pkgname="gnu-efi-libs"
+pkgver="${_pkgver}u"
+pkgrel="2"
+pkgdesc="Library for building UEFI Applications using GNU toolchain"
+url="http://sourceforge.net/projects/gnu-efi/"
+license=('GPL')
+arch=('x86_64' 'i686')
+options=('!strip' '!makeflags')
+makedepends=('pciutils')
+
+source=("http://download.sourceforge.net/gnu-efi/gnu-efi_${pkgver}.orig.tar.gz")
+md5sums=('d15d3c700e79a1e2938544d73edc572d')
+
+[[ "${CARCH}" == "x86_64" ]] && _EFI_ARCH="x86_64"
+[[ "${CARCH}" == "i686" ]] && _EFI_ARCH="ia32"
+
+build() {
+
+ cd "${srcdir}/gnu-efi-${_pkgver}/"
+
+ ## Unset all compiler FLAGS
+ unset CFLAGS
+ unset CPPFLAGS
+ unset CXXFLAGS
+ unset LDFLAGS
+ unset MAKEFLAGS
+
+ make -j1
+ make -j1 -C apps all
+
+}
+
+package() {
+
+ cd "${srcdir}/gnu-efi-${_pkgver}/"
+
+ make INSTALLROOT="${pkgdir}" PREFIX="/usr" LIBDIR="/usr/lib" install
+
+ install -d "${pkgdir}/usr/share/gnu-efi/apps/${_EFI_ARCH}/"
+ install -D -m0644 "${srcdir}/gnu-efi-${_pkgver}/apps"/*.efi "${pkgdir}/usr/share/gnu-efi/apps/${_EFI_ARCH}/"
+
+}
More information about the arch-commits
mailing list