| 1 |
# Copyright 1999-2008 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.14-r1.ebuild,v 1.1 2008/05/27 19:02:55 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="" |
| 15 |
|
| 16 |
RDEPEND="~sys-fs/btrfs-${PV}" |
| 17 |
|
| 18 |
src_unpack() { |
| 19 |
unpack ${A} |
| 20 |
cd "${S}" |
| 21 |
|
| 22 |
epatch "${FILESDIR}/${P}-hotfix.patch" |
| 23 |
} |
| 24 |
|
| 25 |
src_install() { |
| 26 |
into / |
| 27 |
dosbin btrfs-show |
| 28 |
dosbin btrfs-vol |
| 29 |
dosbin btrfsctl |
| 30 |
dosbin btrfsck |
| 31 |
dosym btrfsck /sbin/fsck.btrfs |
| 32 |
newsbin debug-tree btrfs-debug-tree |
| 33 |
newsbin mkfs.btrfs mkbtrfs |
| 34 |
dosym mkbtrfs /sbin/mkfs.btrfs |
| 35 |
#dosbin show-blocks |
| 36 |
|
| 37 |
dodoc INSTALL |
| 38 |
} |