diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-07-18 20:10:57 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-07-18 20:10:57 +0000 |
commit | 8577188264e1cff73b7c845c0f2f95cafb989e53 (patch) | |
tree | d7f700b6030421facb995a8246d10606f08875de /sys-fs/mtd-utils/mtd-utils-20100718.ebuild | |
parent | Updated for a couple of minor/weird bugs (320237 and 325193). (diff) | |
download | gentoo-2-8577188264e1cff73b7c845c0f2f95cafb989e53.tar.gz gentoo-2-8577188264e1cff73b7c845c0f2f95cafb989e53.tar.bz2 gentoo-2-8577188264e1cff73b7c845c0f2f95cafb989e53.zip |
Update snapshot and merge the live/snap ebuilds #327775 by Raúl Porcel.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/mtd-utils/mtd-utils-20100718.ebuild')
-rw-r--r-- | sys-fs/mtd-utils/mtd-utils-20100718.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/sys-fs/mtd-utils/mtd-utils-20100718.ebuild b/sys-fs/mtd-utils/mtd-utils-20100718.ebuild new file mode 100644 index 000000000000..3b4e8520079d --- /dev/null +++ b/sys-fs/mtd-utils/mtd-utils-20100718.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-20100718.ebuild,v 1.1 2010/07/18 20:10:57 vapier Exp $ + +EAPI="3" + +if [[ ${PV} == "99999999" ]] ; then + EGIT_REPO_URI="git://git.infradead.org/mtd-utils.git" + + inherit git + SRC_URI="" + #KEYWORDS="" +else + MY_PV="${PV}-02ae0aac87576d07202a62d11294ea55b56f450b" + SRC_URI="mirror://gentoo/${PN}-snapshot-${MY_PV}.tar.xz" + KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86" +fi + +DESCRIPTION="MTD userspace tools" +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 )" + +S=${WORKDIR}/${PN} + +makeopts() { + echo CROSS=${CHOST}- + use xattr || echo WITHOUT_XATTR=1 +} + +src_compile() { + 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 +} |