/[gentoo-x86]/sys-fs/btrfs-progs/btrfs-progs-0.20_rc1.ebuild
Gentoo

Contents of /sys-fs/btrfs-progs/btrfs-progs-0.20_rc1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Jan 6 11:11:29 2013 UTC (15 months, 1 week ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Add ~sparc, wrt bug #449220

(Portage version: 2.1.11.31/cvs/Linux ppc64, unsigned Manifest commit)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-fs/btrfs-progs/btrfs-progs-0.20_rc1.ebuild,v 1.3 2013/01/01 14:56:02 ago Exp $
4
5 EAPI=4
6
7 MY_PV=${PV/_rc/-rc}
8
9 #inherit git-2 toolchain-funcs
10 inherit toolchain-funcs
11
12 DESCRIPTION="Btrfs filesystem utilities"
13 HOMEPAGE="https://btrfs.wiki.kernel.org"
14 # tarballed out of v0.20-rc1 tag in btrfs-progs repo
15 SRC_URI="http://dev.gentoo.org/~slyfox/${PN}-${MY_PV}.tar.gz"
16
17 LICENSE="GPL-2"
18 SLOT="0"
19 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
20 IUSE=""
21
22 DEPEND="sys-libs/zlib
23 sys-apps/acl
24 sys-fs/e2fsprogs"
25 RDEPEND="${DEPEND}"
26
27 S="${WORKDIR}/${PN}-${MY_PV}"
28
29 #EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git
30 # https://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git"
31 #EGIT_COMMIT="89fe5b5f666c247aa3173745fb87c710f3a71a4a"
32
33 src_prepare() {
34 # upstream didn't bump program version
35 sed -i -e "s:Btrfs v0\.19:v${MY_PV}:" version.sh || die
36 }
37
38 src_compile() {
39 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
40 }
41
42 src_install() {
43 emake DESTDIR="${D}" prefix=/usr bindir=/sbin mandir=/usr/share/man install
44 }
45
46 pkg_postinst() {
47 ewarn "WARNING: This version of btrfs-progs corresponds to and should only"
48 ewarn " be used with the version of btrfs included in the"
49 ewarn " Linux kernel (2.6.31 and above)."
50 ewarn ""
51 ewarn " This version should NOT be used with earlier versions"
52 ewarn " of the standalone btrfs module!"
53 }

  ViewVC Help
Powered by ViewVC 1.1.20