diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-07-03 05:54:26 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-07-03 05:54:26 +0000 |
commit | 94c7d9b0eae8bbd51c4bfc72f797474a0b6dc30a (patch) | |
tree | 4440e7e0d7e47f183af9729e51defa91909318bb /sys-fs/mtd-utils/mtd-utils-20090630.ebuild | |
parent | old (diff) | |
download | gentoo-2-94c7d9b0eae8bbd51c4bfc72f797474a0b6dc30a.tar.gz gentoo-2-94c7d9b0eae8bbd51c4bfc72f797474a0b6dc30a.tar.bz2 gentoo-2-94c7d9b0eae8bbd51c4bfc72f797474a0b6dc30a.zip |
Update snapshot.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/mtd-utils/mtd-utils-20090630.ebuild')
-rw-r--r-- | sys-fs/mtd-utils/mtd-utils-20090630.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/sys-fs/mtd-utils/mtd-utils-20090630.ebuild b/sys-fs/mtd-utils/mtd-utils-20090630.ebuild new file mode 100644 index 000000000000..02f8bca4e35f --- /dev/null +++ b/sys-fs/mtd-utils/mtd-utils-20090630.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-20090630.ebuild,v 1.1 2009/07/03 05:54:26 vapier Exp $ + +inherit toolchain-funcs eutils + +# Git ID for the snapshot +MY_PV="${PV}-22494a8d105936785af53235b088fa38112128fc" +DESCRIPTION="MTD userspace tools, based on GIT snapshot from upstream" +HOMEPAGE="http://git.infradead.org/?p=mtd-utils.git;a=summary" +SRC_URI="mirror://gentoo/${PN}-snapshot-${MY_PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86" +IUSE="xattr" + +RDEPEND="!sys-fs/mtd + dev-libs/lzo + sys-libs/zlib" +# 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 )" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i 's:-Werror::' $(find . -name Makefile) +} + +makeopts() { + use xattr || echo WITHOUT_XATTR=1 +} + +src_compile() { + tc-export CC + emake $(makeopts) || die +} + +src_install() { + emake $(makeopts) install DESTDIR="${D}" || die + dodoc *.txt + newdoc mkfs.ubifs/README README.mkfs.ubifs + # TODO: check ubi-utils for docs+scripts +} |