removed alarm/cgpt

This commit is contained in:
Kevin Mihelich 2014-06-15 17:10:33 +00:00
parent 0a5f348f57
commit 667f146201
2 changed files with 0 additions and 60 deletions

View file

@ -1,40 +0,0 @@
# Maintainer: Justin Settle <jus10 at partlycloudy dot org>
buildarch=4
pkgname=cgpt
pkgdesc="Chromium OS cgpt partition tool"
pkgver=20131109
pkgrel=1
arch=('any')
url="https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+/master"
license=('custom:chromiumos')
_commit=('a3d70a3d2b5c052db039d097aaffa42008da24b5')
source=('vboot-utils-00-disable-static-linking.patch'
"https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+archive/${_commit}.tar.gz")
noextract=("${_commit}.tar.gz")
md5sums=('0bef8d9991e3abaa9ea971a74c261f2a'
'a92d51fb8e34d9a995e810957d828caa')
prepare() {
mkdir -p "${srcdir}/vboot_reference"
tar -xf "${_commit}.tar.gz" -C "${srcdir}/vboot_reference"
cd "${srcdir}/vboot_reference"
patch -p0 < "${srcdir}/vboot-utils-00-disable-static-linking.patch"
}
build() {
cd "${srcdir}/vboot_reference"
ARCH=arm make cgpt
}
package() {
install -d "${pkgdir}/usr/sbin/"
install -m755 "${srcdir}/vboot_reference/build/cgpt/cgpt" "${pkgdir}/usr/sbin/"
install -m 644 -D ${srcdir}/vboot_reference/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}

View file

@ -1,20 +0,0 @@
--- Makefile.orig 2013-02-22 23:37:25.911542016 -0600
+++ Makefile 2013-02-22 23:37:49.286029980 -0600
@@ -642,7 +642,7 @@
.PHONY: cgpt
cgpt: ${CGPT}
-${CGPT}: LDFLAGS += -static
+#${CGPT}: LDFLAGS += -static
${CGPT}: LDLIBS += -luuid
${CGPT}: ${CGPT_OBJS} ${LIBS}
@@ -662,7 +662,7 @@
${BUILD}/utility/%: INCLUDES += -Ihost/include -Iutility/include
# Utilities for auto-update toolkits must be statically linked.
-${UTIL_BINS_STATIC}: LDFLAGS += -static
+#${UTIL_BINS_STATIC}: LDFLAGS += -static
.PHONY: utils
utils: ${UTIL_BINS} ${UTIL_SCRIPTS} ${UTIL_SBINS}