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

Contents of /sys-fs/btrfs-progs/btrfs-progs-0.18.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Sep 21 15:57:42 2009 UTC (5 years, 3 months ago) by lavajoe
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
New version 0.19 (bug #278066); fix hard-coded "gcc" and "make"
(Portage version: 2.1.6.13/cvs/Linux x86_64)

1 # Copyright 1999-2009 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.18.ebuild,v 1.3 2009/06/06 05:13:09 lavajoe Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Btrfs filesystem utilities"
8 HOMEPAGE="http://btrfs.wiki.kernel.org/"
9 SRC_URI="http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/${P}.tar.bz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
14 IUSE="acl"
15
16 DEPEND="dev-python/matplotlib
17 acl? (
18 sys-apps/acl
19 sys-fs/e2fsprogs
20 )"
21 RDEPEND="${DEPEND}"
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26
27 # Apply hot fixes
28 #epatch "${FILESDIR}/${P}-hotfix.patch"
29 }
30
31 src_compile() {
32 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
33 all || die
34 if use acl; then
35 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
36 convert || die
37 fi
38 }
39
40 src_install() {
41 into /
42 dosbin btrfs-show
43 dosbin btrfs-vol
44 dosbin btrfs-image
45 dosbin btrfsctl
46 dosbin btrfstune
47 dosbin btrfsck
48 # fsck will segfault if invoked at boot, so do not make this link
49 #dosym btrfsck /sbin/fsck.btrfs
50 #newsbin debug-tree btrfs-debug-tree
51 newsbin mkfs.btrfs mkbtrfs
52 dosym mkbtrfs /sbin/mkfs.btrfs
53 if use acl; then
54 dosbin btrfs-convert
55 else
56 ewarn "Note: btrfs-convert not built/installed (requires acl USE flag)"
57 fi
58
59 into /usr
60 newbin bcp btrfs-bcp
61 newbin show-blocks btrfs-show-blocks
62
63 dodoc INSTALL
64 }
65
66 pkg_postinst() {
67 ewarn "WARNING: This version of btrfs-progs corresponds to and should only"
68 ewarn " be used with the version of btrfs included in the"
69 ewarn " Linux kernel (2.6.29-rc2 and above)."
70 ewarn ""
71 ewarn " This version should NOT be used with earlier versions"
72 ewarn " of the standaline btrfs module!"
73 }

  ViewVC Help
Powered by ViewVC 1.1.20