summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-05-07 20:41:37 +0000
committerMike Frysinger <vapier@gentoo.org>2012-05-07 20:41:37 +0000
commitcc84487d13b89d2a29b4f1eaf9919d17f2a7631d (patch)
tree6a124f3a3d80760eaedaa3bbbb69ad5d59823eed /sys-fs/mtd-utils
parentUnmask app-emacs/cedet-1.1. (diff)
downloadgentoo-2-cc84487d13b89d2a29b4f1eaf9919d17f2a7631d.tar.gz
gentoo-2-cc84487d13b89d2a29b4f1eaf9919d17f2a7631d.tar.bz2
gentoo-2-cc84487d13b89d2a29b4f1eaf9919d17f2a7631d.zip
Version bump.
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/mtd-utils')
-rw-r--r--sys-fs/mtd-utils/ChangeLog7
-rw-r--r--sys-fs/mtd-utils/mtd-utils-1.5.0.ebuild57
2 files changed, 63 insertions, 1 deletions
diff --git a/sys-fs/mtd-utils/ChangeLog b/sys-fs/mtd-utils/ChangeLog
index 880a1ad60c62..da92a6bfafd0 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-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/ChangeLog,v 1.54 2012/04/17 16:02:42 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/ChangeLog,v 1.55 2012/05/07 20:41:37 vapier Exp $
+
+*mtd-utils-1.5.0 (07 May 2012)
+
+ 07 May 2012; Mike Frysinger <vapier@gentoo.org> +mtd-utils-1.5.0.ebuild:
+ Version bump.
17 Apr 2012; Brent Baude <ranger@gentoo.org> mtd-utils-1.4.8.ebuild:
Marking mtd-utils-1.4.8 ppc for bug 404863
diff --git a/sys-fs/mtd-utils/mtd-utils-1.5.0.ebuild b/sys-fs/mtd-utils/mtd-utils-1.5.0.ebuild
new file mode 100644
index 000000000000..fc596ba6452d
--- /dev/null
+++ b/sys-fs/mtd-utils/mtd-utils-1.5.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-1.5.0.ebuild,v 1.1 2012/05/07 20:41:37 vapier Exp $
+
+EAPI="3"
+
+inherit eutils vcs-snapshot
+
+if [[ ${PV} == "99999999" ]] ; then
+ EGIT_REPO_URI="git://git.infradead.org/mtd-utils.git"
+
+ inherit git
+ SRC_URI=""
+ #KEYWORDS=""
+else
+ if [[ ${PV} == *.*.* ]] ; then
+ MY_PV="${PV}-*"
+ SRC_URI="http://git.infradead.org/mtd-utils.git/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+ else
+ MY_PV="${PV}-02ae0aac87576d07202a62d11294ea55b56f450b"
+ SRC_URI="mirror://gentoo/${PN}-snapshot-${MY_PV}.tar.xz"
+ fi
+ KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+DESCRIPTION="MTD userspace tools (NFTL, JFFS2, NAND, FTL, UBI)"
+HOMEPAGE="http://git.infradead.org/?p=mtd-utils.git;a=summary"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="xattr"
+
+# We need libuuid
+RDEPEND="!sys-fs/mtd
+ dev-libs/lzo
+ sys-libs/zlib
+ >=sys-apps/util-linux-2.16"
+# ACL is only required for the <sys/acl.h> header file to build mkfs.jffs2
+# And ACL brings in Attr as well.
+DEPEND="${RDEPEND}
+ xattr? ( sys-apps/acl )"
+
+makeopts() {
+ echo CROSS=${CHOST}-
+ use xattr || echo WITHOUT_XATTR=1
+}
+
+src_compile() {
+ emake $(makeopts) || die
+}
+
+src_install() {
+ emake $(makeopts) install DESTDIR="${ED}" || die
+ dodoc *.txt
+ newdoc mkfs.ubifs/README README.mkfs.ubifs
+ # TODO: check ubi-utils for docs+scripts
+}