1 |
vapier 10/08/28 22:43:29 |
2 |
|
3 |
Modified: ChangeLog gnu-efi-3.0i.ebuild |
4 |
Log: |
5 |
Clean up and document the ebuild a bit. |
6 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.18 sys-boot/gnu-efi/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/gnu-efi/ChangeLog?rev=1.18&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/gnu-efi/ChangeLog?rev=1.18&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/gnu-efi/ChangeLog?r1=1.17&r2=1.18 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sys-boot/gnu-efi/ChangeLog,v |
18 |
retrieving revision 1.17 |
19 |
retrieving revision 1.18 |
20 |
diff -u -r1.17 -r1.18 |
21 |
--- ChangeLog 24 Jul 2010 15:40:51 -0000 1.17 |
22 |
+++ ChangeLog 28 Aug 2010 22:43:29 -0000 1.18 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for sys-boot/gnu-efi |
25 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/gnu-efi/ChangeLog,v 1.17 2010/07/24 15:40:51 armin76 Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/gnu-efi/ChangeLog,v 1.18 2010/08/28 22:43:29 vapier Exp $ |
28 |
+ |
29 |
+ 28 Aug 2010; Mike Frysinger <vapier@g.o> gnu-efi-3.0i.ebuild: |
30 |
+ Clean up and document the ebuild a bit. |
31 |
|
32 |
24 Jul 2010; Raúl Porcel <armin76@g.o> -gnu-efi-3.0e.ebuild, |
33 |
gnu-efi-3.0i.ebuild: |
34 |
|
35 |
|
36 |
|
37 |
1.3 sys-boot/gnu-efi/gnu-efi-3.0i.ebuild |
38 |
|
39 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/gnu-efi/gnu-efi-3.0i.ebuild?rev=1.3&view=markup |
40 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/gnu-efi/gnu-efi-3.0i.ebuild?rev=1.3&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/gnu-efi/gnu-efi-3.0i.ebuild?r1=1.2&r2=1.3 |
42 |
|
43 |
Index: gnu-efi-3.0i.ebuild |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/sys-boot/gnu-efi/gnu-efi-3.0i.ebuild,v |
46 |
retrieving revision 1.2 |
47 |
retrieving revision 1.3 |
48 |
diff -u -r1.2 -r1.3 |
49 |
--- gnu-efi-3.0i.ebuild 24 Jul 2010 15:40:51 -0000 1.2 |
50 |
+++ gnu-efi-3.0i.ebuild 28 Aug 2010 22:43:29 -0000 1.3 |
51 |
@@ -1,15 +1,14 @@ |
52 |
# Copyright 1999-2010 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/sys-boot/gnu-efi/gnu-efi-3.0i.ebuild,v 1.2 2010/07/24 15:40:51 armin76 Exp $ |
55 |
+# $Header: /var/cvsroot/gentoo-x86/sys-boot/gnu-efi/gnu-efi-3.0i.ebuild,v 1.3 2010/08/28 22:43:29 vapier Exp $ |
56 |
|
57 |
-inherit eutils toolchain-funcs |
58 |
+inherit eutils |
59 |
|
60 |
MY_P="${PN}_${PV}" |
61 |
- |
62 |
DESCRIPTION="Library for build EFI Applications" |
63 |
HOMEPAGE="http://developer.intel.com/technology/efi" |
64 |
-SRC_URI="mirror://sourceforge/gnu-efi/${MY_P}.orig.tar.gz" |
65 |
-SRC_URI="${SRC_URI} mirror://debian/pool/main/g/gnu-efi/gnu-efi_3.0i-2.diff.gz" |
66 |
+SRC_URI="mirror://sourceforge/gnu-efi/${MY_P}.orig.tar.gz |
67 |
+ mirror://debian/pool/main/g/gnu-efi/gnu-efi_3.0i-2.diff.gz" |
68 |
|
69 |
LICENSE="GPL-2" |
70 |
SLOT="0" |
71 |
@@ -21,12 +20,7 @@ |
72 |
src_unpack() { |
73 |
unpack ${A} |
74 |
cd "${S}" |
75 |
- |
76 |
- ebegin Applying ../*.diff |
77 |
- # Using epatch on this is annoying because it wants to create the elilo-3.6/ |
78 |
- # directory. Since all the files are new, it doesn't know better. |
79 |
- filterdiff -p1 -i debian/\* ../*.diff | patch -s -p1 |
80 |
- eend $? || return |
81 |
+ EPATCH_OPTS="-p1" epatch "${WORKDIR}"/*.diff |
82 |
} |
83 |
|
84 |
src_compile() { |
85 |
@@ -35,12 +29,14 @@ |
86 |
ia64) iarch=ia64 ;; |
87 |
x86) iarch=ia32 ;; |
88 |
amd64) iarch=x86_64 ;; |
89 |
- *) die "unknown architecture: $ARCH" ;; |
90 |
+ *) die "unknown architecture: $ARCH" ;; |
91 |
esac |
92 |
- emake CC="$(tc-getCC)" ARCH=${iarch} -j1 || die "emake failed" |
93 |
+ # The lib subdir uses unsafe archive targets, and |
94 |
+ # the apps subdir needs gnuefi subdir |
95 |
+ emake prefix=${CHOST}- ARCH=${iarch} -j1 || die |
96 |
} |
97 |
|
98 |
src_install() { |
99 |
- make install INSTALLROOT="${D}"/usr || die "install failed" |
100 |
+ emake install INSTALLROOT="${D}"/usr || die |
101 |
dodoc README* ChangeLog |
102 |
} |