1 |
robbat2 08/01/02 21:36:51 |
2 |
|
3 |
Modified: mtd-utils-9999.ebuild ChangeLog |
4 |
Added: mtd-utils-20080102.ebuild |
5 |
Log: |
6 |
Version bump using a snapshot from the actual Git repo now. Also update the live ebuild to use the Git repo directly. attr/acl are totally optional now. |
7 |
(Portage version: 2.1.4_rc11) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 sys-fs/mtd-utils/mtd-utils-9999.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/mtd-utils/mtd-utils-9999.ebuild?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/mtd-utils/mtd-utils-9999.ebuild?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/mtd-utils/mtd-utils-9999.ebuild?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: mtd-utils-9999.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-9999.ebuild,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -p -w -b -B -u -u -r1.1 -r1.2 |
22 |
--- mtd-utils-9999.ebuild 27 Dec 2007 21:13:10 -0000 1.1 |
23 |
+++ mtd-utils-9999.ebuild 2 Jan 2008 21:36:51 -0000 1.2 |
24 |
@@ -1,46 +1,50 @@ |
25 |
-# Copyright 1999-2007 Gentoo Foundation |
26 |
+# Copyright 1999-2008 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-9999.ebuild,v 1.1 2007/12/27 21:13:10 vapier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-9999.ebuild,v 1.2 2008/01/02 21:36:51 robbat2 Exp $ |
30 |
|
31 |
ECVS_USER="anoncvs" |
32 |
ECVS_PASS="anoncvs" |
33 |
-ECVS_SERVER="cvs.infradead.org:/home/cvs" |
34 |
-ECVS_MODULE="mtd" |
35 |
-inherit toolchain-funcs flag-o-matic cvs |
36 |
+EGIT_REPO_URI="git://git.infradead.org/mtd-utils.git" |
37 |
+inherit toolchain-funcs flag-o-matic git |
38 |
|
39 |
DESCRIPTION="MTD userspace tools" |
40 |
-HOMEPAGE="http://sources.redhat.com/jffs2/" |
41 |
+HOMEPAGE="http://git.infradead.org/?p=mtd-utils.git;a=summary" |
42 |
SRC_URI="" |
43 |
|
44 |
LICENSE="GPL-2" |
45 |
SLOT="0" |
46 |
KEYWORDS="" |
47 |
-IUSE="" |
48 |
+IUSE="xattr" |
49 |
|
50 |
-S=${WORKDIR}/mtd/util |
51 |
- |
52 |
-DEPEND="!sys-fs/mtd |
53 |
+RDEPEND="!sys-fs/mtd |
54 |
sys-libs/zlib" |
55 |
+# ACL is only required for the <sys/acl.h> header file to build mkfs.jffs2 |
56 |
+# And ACL brings in Attr as well. |
57 |
+DEPEND="xattr? ( sys-apps/acl ) |
58 |
+ ${DEPEND}" |
59 |
|
60 |
src_unpack() { |
61 |
- cvs_src_unpack |
62 |
+ git_src_unpack |
63 |
sed -i \ |
64 |
-e 's!^MANDIR.*!MANDIR = /usr/share/man!g' \ |
65 |
-e 's!-include.*!!g' \ |
66 |
+ -e '/make -C/s,make,$(MAKE),g' \ |
67 |
"${S}"/Makefile |
68 |
} |
69 |
|
70 |
src_compile() { |
71 |
- emake \ |
72 |
- CFLAGS="${CFLAGS} -I../include -Wall" \ |
73 |
+ local myflags="" |
74 |
+ use xattr || myflags="WITHOUT_XATTR=1" |
75 |
+ emake DESTDIR="${D}" \ |
76 |
+ OPTFLAGS="${CFLAGS}" \ |
77 |
LDFLAGS="${LDFLAGS}" \ |
78 |
CC="$(tc-getCC)" \ |
79 |
- DESTDIR="${D}" \ |
80 |
- || die |
81 |
+ ${myflags} || die |
82 |
} |
83 |
|
84 |
src_install() { |
85 |
emake install DESTDIR="${D}" || die |
86 |
rm -r "${D}"/usr/include || die |
87 |
dodoc *.txt |
88 |
+ # TODO: check ubi-utils for docs+scripts |
89 |
} |
90 |
|
91 |
|
92 |
|
93 |
1.8 sys-fs/mtd-utils/ChangeLog |
94 |
|
95 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/mtd-utils/ChangeLog?rev=1.8&view=markup |
96 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/mtd-utils/ChangeLog?rev=1.8&content-type=text/plain |
97 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/mtd-utils/ChangeLog?r1=1.7&r2=1.8 |
98 |
|
99 |
Index: ChangeLog |
100 |
=================================================================== |
101 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/ChangeLog,v |
102 |
retrieving revision 1.7 |
103 |
retrieving revision 1.8 |
104 |
diff -p -w -b -B -u -u -r1.7 -r1.8 |
105 |
--- ChangeLog 1 Jan 2008 16:24:17 -0000 1.7 |
106 |
+++ ChangeLog 2 Jan 2008 21:36:51 -0000 1.8 |
107 |
@@ -1,6 +1,13 @@ |
108 |
# ChangeLog for sys-fs/mtd-utils |
109 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
110 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/ChangeLog,v 1.7 2008/01/01 16:24:17 maekke Exp $ |
111 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/ChangeLog,v 1.8 2008/01/02 21:36:51 robbat2 Exp $ |
112 |
+ |
113 |
+*mtd-utils-20080102 (02 Jan 2008) |
114 |
+ |
115 |
+ 02 Jan 2008; Robin H. Johnson <robbat2@g.o> mtd-utils-9999.ebuild, |
116 |
+ +mtd-utils-20080102.ebuild: |
117 |
+ Version bump using a snapshot from the actual Git repo now. Also update the |
118 |
+ live ebuild to use the Git repo directly. attr/acl are totally optional now. |
119 |
|
120 |
01 Jan 2008; Markus Meier <maekke@g.o> mtd-utils-20060907.ebuild: |
121 |
x86 stable, bug #203855 |
122 |
|
123 |
|
124 |
|
125 |
1.1 sys-fs/mtd-utils/mtd-utils-20080102.ebuild |
126 |
|
127 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/mtd-utils/mtd-utils-20080102.ebuild?rev=1.1&view=markup |
128 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/mtd-utils/mtd-utils-20080102.ebuild?rev=1.1&content-type=text/plain |
129 |
|
130 |
Index: mtd-utils-20080102.ebuild |
131 |
=================================================================== |
132 |
# Copyright 1999-2008 Gentoo Foundation |
133 |
# Distributed under the terms of the GNU General Public License v2 |
134 |
# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-20080102.ebuild,v 1.1 2008/01/02 21:36:51 robbat2 Exp $ |
135 |
|
136 |
inherit toolchain-funcs flag-o-matic |
137 |
|
138 |
DESCRIPTION="MTD userspace tools, based on GIT snapshot from upstream" |
139 |
HOMEPAGE="http://git.infradead.org/?p=mtd-utils.git;a=summary" |
140 |
|
141 |
# Git ID for the snapshot |
142 |
MY_PV="${PV}-9ba41c4dc891e38c92126bfcc4c366d765841da0" |
143 |
SRC_URI="mirror://gentoo/${PN}-snapshot-${MY_PV}.tar.gz" |
144 |
|
145 |
LICENSE="GPL-2" |
146 |
SLOT="0" |
147 |
KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86" |
148 |
IUSE="xattr" |
149 |
|
150 |
S=${WORKDIR}/${PN}.git |
151 |
|
152 |
RDEPEND="!sys-fs/mtd |
153 |
sys-libs/zlib" |
154 |
# ACL is only required for the <sys/acl.h> header file to build mkfs.jffs2 |
155 |
# And ACL brings in Attr as well. |
156 |
DEPEND="xattr? ( sys-apps/acl ) |
157 |
${DEPEND}" |
158 |
|
159 |
src_unpack() { |
160 |
unpack ${A} |
161 |
sed -i.orig \ |
162 |
-e 's!^MANDIR.*!MANDIR = /usr/share/man!g' \ |
163 |
-e 's!-include.*!!g' \ |
164 |
-e '/make -C/s,make,$(MAKE),g' \ |
165 |
"${S}"/Makefile |
166 |
} |
167 |
|
168 |
src_compile() { |
169 |
local myflags="" |
170 |
use xattr || myflags="WITHOUT_XATTR=1" |
171 |
emake DESTDIR="${D}" \ |
172 |
OPTFLAGS="${CFLAGS}" \ |
173 |
LDFLAGS="${LDFLAGS}" \ |
174 |
CC="$(tc-getCC)" \ |
175 |
${myflags} || die |
176 |
} |
177 |
|
178 |
src_install() { |
179 |
emake install DESTDIR="${D}" || die |
180 |
dodoc *.txt |
181 |
# TODO: check ubi-utils for docs+scripts |
182 |
} |
183 |
|
184 |
|
185 |
|
186 |
-- |
187 |
gentoo-commits@g.o mailing list |