summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-12-27 21:13:11 +0000
committerMike Frysinger <vapier@gentoo.org>2007-12-27 21:13:11 +0000
commitd698168e4d01c3be804f3a9595b4516ae8a51ceb (patch)
tree8a7d814a93006a5a576c793c656c4ec889f28646 /sys-fs/mtd-utils
parentamd64 stable (diff)
downloadgentoo-2-d698168e4d01c3be804f3a9595b4516ae8a51ceb.tar.gz
gentoo-2-d698168e4d01c3be804f3a9595b4516ae8a51ceb.tar.bz2
gentoo-2-d698168e4d01c3be804f3a9595b4516ae8a51ceb.zip
Live cvs ebuild.
(Portage version: 2.1.4_rc11)
Diffstat (limited to 'sys-fs/mtd-utils')
-rw-r--r--sys-fs/mtd-utils/ChangeLog7
-rw-r--r--sys-fs/mtd-utils/files/digest-mtd-utils-99990
-rw-r--r--sys-fs/mtd-utils/mtd-utils-9999.ebuild46
3 files changed, 52 insertions, 1 deletions
diff --git a/sys-fs/mtd-utils/ChangeLog b/sys-fs/mtd-utils/ChangeLog
index a64233187891..4b43519b4d20 100644
--- a/sys-fs/mtd-utils/ChangeLog
+++ b/sys-fs/mtd-utils/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/mtd-utils
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/ChangeLog,v 1.4 2007/12/26 05:52:11 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/ChangeLog,v 1.5 2007/12/27 21:13:10 vapier Exp $
+
+*mtd-utils-9999 (27 Dec 2007)
+
+ 27 Dec 2007; Mike Frysinger <vapier@gentoo.org> +mtd-utils-9999.ebuild:
+ Live cvs ebuild.
26 Dec 2007; Robin H. Johnson <robbat2@gentoo.org>
mtd-utils-20060907.ebuild:
diff --git a/sys-fs/mtd-utils/files/digest-mtd-utils-9999 b/sys-fs/mtd-utils/files/digest-mtd-utils-9999
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/sys-fs/mtd-utils/files/digest-mtd-utils-9999
diff --git a/sys-fs/mtd-utils/mtd-utils-9999.ebuild b/sys-fs/mtd-utils/mtd-utils-9999.ebuild
new file mode 100644
index 000000000000..8e26b30cfde6
--- /dev/null
+++ b/sys-fs/mtd-utils/mtd-utils-9999.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-9999.ebuild,v 1.1 2007/12/27 21:13:10 vapier Exp $
+
+ECVS_USER="anoncvs"
+ECVS_PASS="anoncvs"
+ECVS_SERVER="cvs.infradead.org:/home/cvs"
+ECVS_MODULE="mtd"
+inherit toolchain-funcs flag-o-matic cvs
+
+DESCRIPTION="MTD userspace tools"
+HOMEPAGE="http://sources.redhat.com/jffs2/"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+S=${WORKDIR}/mtd/util
+
+DEPEND="!sys-fs/mtd
+ sys-libs/zlib"
+
+src_unpack() {
+ cvs_src_unpack
+ sed -i \
+ -e 's!^MANDIR.*!MANDIR = /usr/share/man!g' \
+ -e 's!-include.*!!g' \
+ "${S}"/Makefile
+}
+
+src_compile() {
+ emake \
+ CFLAGS="${CFLAGS} -I../include -Wall" \
+ LDFLAGS="${LDFLAGS}" \
+ CC="$(tc-getCC)" \
+ DESTDIR="${D}" \
+ || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ rm -r "${D}"/usr/include || die
+ dodoc *.txt
+}