--- /dev/null
+# ChangeLog for sys-fs/mtd-utils
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/ChangeLog,v 1.1 2006/06/08 03:40:48 robbat2 Exp $
+
+*mtd-utils-20060606 (08 Jun 2006)
+
+ 08 Jun 2006; Robin H. Johnson <robbat2@gentoo.org> +metadata.xml,
+ +mtd-utils-20060606.ebuild:
+ Initial commit. New variant of the old sys-fs/mtd package, maintained
+ seperately by upstream.
+
--- /dev/null
+DIST mtd-utils-snapshot-20060606.tar.bz2 103540 RMD160 16ee11616ef07e0c440417f124695a9b74fe98d9 SHA1 721a0b38c02a176052cd4b595e78dd0f71bf9caf SHA256 b745586441bb4733904b94f8e009532a100d2c6c44befbbdaa01dbc3a512f63e
+EBUILD mtd-utils-20060606.ebuild 900 RMD160 7100654043b495351c99c7ec1e0577d14d6f850c SHA1 fec504e721f5a90849cfd14f9d43106c1a8e1c0f SHA256 6724726a65579bf77ea479670bb102561ab328ba146ebc50a3b0001ff0aa35a8
+MD5 6c4537cb1f1c8961e20148cbb6d625b2 mtd-utils-20060606.ebuild 900
+RMD160 7100654043b495351c99c7ec1e0577d14d6f850c mtd-utils-20060606.ebuild 900
+SHA256 6724726a65579bf77ea479670bb102561ab328ba146ebc50a3b0001ff0aa35a8 mtd-utils-20060606.ebuild 900
+MISC ChangeLog 438 RMD160 1868a46feb0cba39e2fe16ad7e53565affe9f977 SHA1 793b701f0adb0201eb48e5f53f7725bbf71b0b3e SHA256 2d7b309fc5d1b8a9f280acbcfadf1180f06f3eaa8a3ebfb990fbfcf164397481
+MD5 0c9032a43438b0a72c13b8e5c9c4f42d ChangeLog 438
+RMD160 1868a46feb0cba39e2fe16ad7e53565affe9f977 ChangeLog 438
+SHA256 2d7b309fc5d1b8a9f280acbcfadf1180f06f3eaa8a3ebfb990fbfcf164397481 ChangeLog 438
+MISC metadata.xml 294 RMD160 243c83a108b9052a038a38aaa9e4b844c8f4108a SHA1 7c0c6903f08eb987241fc86b771fcd497d3c794c SHA256 2a0b895e7583ec903c29abc3d2840395f4ac84a816d788fefdb803e5393b45cd
+MD5 3c70c88b86e410acea34e6102d8f89de metadata.xml 294
+RMD160 243c83a108b9052a038a38aaa9e4b844c8f4108a metadata.xml 294
+SHA256 2a0b895e7583ec903c29abc3d2840395f4ac84a816d788fefdb803e5393b45cd metadata.xml 294
+MD5 c5586ce9771f4416b3648a4a909e875a files/digest-mtd-utils-20060606 286
+RMD160 ab5f845ab4e78d29b5a902c504effaa2bf67ec82 files/digest-mtd-utils-20060606 286
+SHA256 0243b8f674987ea1f0f61edff5152868a5a63219476dd779ee71d28d358007a2 files/digest-mtd-utils-20060606 286
--- /dev/null
+MD5 f6a59daf6e5185853d6cb80f1d49fa6f mtd-utils-snapshot-20060606.tar.bz2 103540
+RMD160 16ee11616ef07e0c440417f124695a9b74fe98d9 mtd-utils-snapshot-20060606.tar.bz2 103540
+SHA256 b745586441bb4733904b94f8e009532a100d2c6c44befbbdaa01dbc3a512f63e mtd-utils-snapshot-20060606.tar.bz2 103540
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>base-system</herd>
+ <maintainer>
+ <email>solar@gentoo.org</email>
+ </maintainer>
+ <maintainer>
+ <email>robbat2@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
+
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-20060606.ebuild,v 1.1 2006/06/08 03:40:48 robbat2 Exp $
+
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="MTD userspace tools, based on GIT snapshot from upstream"
+HOMEPAGE="http://sources.redhat.com/jffs2/"
+SRC_URI="mirror://gentoo/${PN}-snapshot-${PV}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~mips ~arm ~amd64 ~ppc"
+IUSE=""
+
+S="${WORKDIR}/${PN}"
+
+DEPEND="sys-libs/zlib
+ virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+ sed -i.orig \
+ -e 's!^MANDIR.*!MANDIR = /usr/share/man!g' \
+ -e 's!-include.*!!g' \
+ ${S}/Makefile
+}
+
+src_compile() {
+ append-flags -I./include -Wall
+ emake DESTDIR="${D}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}"
+ dodoc *.txt
+}