1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit autotools eutils
9 DESCRIPTION="Create, destroy, resize, check, copy partitions and file systems"
10 HOMEPAGE="https://www.gnu.org/software/parted"
11 SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
15 KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
16 IUSE="+debug device-mapper nls readline selinux static-libs"
19 # specific version for gettext needed
22 >=sys-fs/e2fsprogs-1.27
23 >=sys-libs/ncurses-5.7-r7:0=
24 device-mapper? ( >=sys-fs/lvm2-2.02.45 )
25 readline? ( >=sys-libs/readline-5.2:0= )
26 selinux? ( sys-libs/libselinux )
30 nls? ( >=sys-devel/gettext-0.12.1-r2 )
36 "${FILESDIR}"/${PN}-3.2-devmapper.patch \
37 "${FILESDIR}"/${PN}-3.2-po4a-mandir.patch
44 $(use_enable device-mapper) \
46 $(use_enable selinux) \
47 $(use_enable static-libs static) \
48 $(use_with readline) \
50 --disable-silent-rules
53 DOCS=( AUTHORS BUGS ChangeLog NEWS README THANKS TODO doc/{API,FAT,USER.jp} )