/[gentoo-x86]/sys-fs/mtd-utils/mtd-utils-1.5.0.ebuild
Gentoo

Contents of /sys-fs/mtd-utils/mtd-utils-1.5.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Mon May 7 20:41:37 2012 UTC (2 years, 4 months ago) by vapier
Branch: MAIN
Version bump.

(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)

1 vapier 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-1.4.8.ebuild,v 1.6 2012/04/17 16:02:42 ranger Exp $
4    
5     EAPI="3"
6    
7     inherit eutils vcs-snapshot
8    
9     if [[ ${PV} == "99999999" ]] ; then
10     EGIT_REPO_URI="git://git.infradead.org/mtd-utils.git"
11    
12     inherit git
13     SRC_URI=""
14     #KEYWORDS=""
15     else
16     if [[ ${PV} == *.*.* ]] ; then
17     MY_PV="${PV}-*"
18     SRC_URI="http://git.infradead.org/mtd-utils.git/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
19     else
20     MY_PV="${PV}-02ae0aac87576d07202a62d11294ea55b56f450b"
21     SRC_URI="mirror://gentoo/${PN}-snapshot-${MY_PV}.tar.xz"
22     fi
23     KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86 ~amd64-linux ~x86-linux"
24     fi
25    
26     DESCRIPTION="MTD userspace tools (NFTL, JFFS2, NAND, FTL, UBI)"
27     HOMEPAGE="http://git.infradead.org/?p=mtd-utils.git;a=summary"
28    
29     LICENSE="GPL-2"
30     SLOT="0"
31     IUSE="xattr"
32    
33     # We need libuuid
34     RDEPEND="!sys-fs/mtd
35     dev-libs/lzo
36     sys-libs/zlib
37     >=sys-apps/util-linux-2.16"
38     # ACL is only required for the <sys/acl.h> header file to build mkfs.jffs2
39     # And ACL brings in Attr as well.
40     DEPEND="${RDEPEND}
41     xattr? ( sys-apps/acl )"
42    
43     makeopts() {
44     echo CROSS=${CHOST}-
45     use xattr || echo WITHOUT_XATTR=1
46     }
47    
48     src_compile() {
49     emake $(makeopts) || die
50     }
51    
52     src_install() {
53     emake $(makeopts) install DESTDIR="${ED}" || die
54     dodoc *.txt
55     newdoc mkfs.ubifs/README README.mkfs.ubifs
56     # TODO: check ubi-utils for docs+scripts
57     }

  ViewVC Help
Powered by ViewVC 1.1.20