1 |
commit: bb5a6116c359b47de841fcb6947c9aecf4727be0 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 1 10:52:00 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 1 10:52:18 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb5a6116 |
7 |
|
8 |
sys-block/parted: Add live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
sys-block/parted/parted-99999.ebuild | 64 ++++++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 64 insertions(+) |
15 |
|
16 |
diff --git a/sys-block/parted/parted-99999.ebuild b/sys-block/parted/parted-99999.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..a3d6fcc4069 |
19 |
--- /dev/null |
20 |
+++ b/sys-block/parted/parted-99999.ebuild |
21 |
@@ -0,0 +1,64 @@ |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+inherit autotools flag-o-matic git-r3 |
27 |
+ |
28 |
+DESCRIPTION="Create, destroy, resize, check, copy partitions and file systems" |
29 |
+HOMEPAGE="https://www.gnu.org/software/parted" |
30 |
+EGIT_REPO_URI="https://git.savannah.gnu.org/git/parted.git" |
31 |
+ |
32 |
+LICENSE="GPL-3" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="" |
35 |
+IUSE="+debug device-mapper nls readline selinux static-libs" |
36 |
+RESTRICT="test" |
37 |
+ |
38 |
+# specific version for gettext needed |
39 |
+# to fix bug 85999 |
40 |
+RDEPEND=" |
41 |
+ >=sys-fs/e2fsprogs-1.27 |
42 |
+ device-mapper? ( >=sys-fs/lvm2-2.02.45 ) |
43 |
+ readline? ( >=sys-libs/readline-5.2:0= >=sys-libs/ncurses-5.7-r7:0= ) |
44 |
+ selinux? ( sys-libs/libselinux ) |
45 |
+ elibc_uclibc? ( dev-libs/libiconv ) |
46 |
+" |
47 |
+DEPEND=" |
48 |
+ ${RDEPEND} |
49 |
+ nls? ( >=sys-devel/gettext-0.12.1-r2 ) |
50 |
+ virtual/pkgconfig |
51 |
+" |
52 |
+PATCHES=( |
53 |
+ "${FILESDIR}"/${PN}-3.2-po4a-mandir.patch |
54 |
+) |
55 |
+S=${WORKDIR}/${P/_p*/} |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ default |
59 |
+ |
60 |
+ sh ./bootstrap --gnulib-srcdir=gnulib --no-git || die |
61 |
+ |
62 |
+ eautoreconf |
63 |
+} |
64 |
+ |
65 |
+src_configure() { |
66 |
+ use elibc_uclibc && append-libs -liconv |
67 |
+ econf \ |
68 |
+ $(use_enable debug) \ |
69 |
+ $(use_enable device-mapper) \ |
70 |
+ $(use_enable nls) \ |
71 |
+ $(use_enable selinux) \ |
72 |
+ $(use_enable static-libs static) \ |
73 |
+ $(use_with readline) \ |
74 |
+ --disable-gcc-warnings \ |
75 |
+ --disable-rpath \ |
76 |
+ --disable-silent-rules |
77 |
+} |
78 |
+ |
79 |
+DOCS=( AUTHORS BUGS ChangeLog NEWS README THANKS TODO doc/{API,FAT,USER.jp} ) |
80 |
+ |
81 |
+src_install() { |
82 |
+ default |
83 |
+ |
84 |
+ find "${D}" -name '*.la' -delete || die |
85 |
+} |