blob: 4647b57693c3c65675d0b41c2954394ae03f2ce8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/parted/parted-1.6.6.ebuild,v 1.17 2004/05/29 20:47:37 lv Exp $
inherit gnuconfig eutils
DESCRIPTION="Create, destroy, resize, check, copy partitions and file systems"
HOMEPAGE="http://www.gnu.org/software/parted"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz
mirror://gentoo/${P}.tar.gz
mirror://gentoo/${PF}-gentoo.tar.bz2
http://dev.gentoo.org/~seemant/extras/${PF}-gentoo.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="ia64 x86 ~ppc ~amd64 sparc hppa alpha"
IUSE="nls static readline debug noreiserfs"
DEPEND=">=sys-fs/e2fsprogs-1.27
>=sys-libs/ncurses-5.2
nls? ( sys-devel/gettext )
readline? ( >=sys-libs/readline-4.1-r4 )"
RDEPEND="${DEPEND}
!noreiserfs? ( =sys-fs/progsreiserfs-0.3.0* )"
PATCHDIR=${WORKDIR}/patches
src_unpack() {
unpack ${A}
cd ${S}
EPATCH_SUFFIX="patch" epatch ${PATCHDIR}
}
src_compile() {
use ppc64 && gnuconfig_update
econf \
`use_with readline` \
`use_enable nls` \
`use_enable debug` \
`use_enable static all-static` \
--disable-Werror \
--target=${CHOST} || die "Configure failed"
emake || die "Make failed"
}
src_install() {
einstall || die "Install failed"
dodoc ABOUT-NLS AUTHORS BUGS COPYING ChangeLog \
INSTALL NEWS README THANKS TODO
docinto doc; cd doc
dodoc API COPYING.DOC FAQ FAT USER USER.jp
}
|