Line
Link Here
|
0 |
-- util-linux-2.23.2-r2.ebuild |
0 |
++ util-linux-2.24.ebuild |
Lines 2-9
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.23.2-r2.ebuild,v 1.1 2013/09/29 01:41:58 vapier Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.23.2-r2.ebuild,v 1.1 2013/09/29 01:41:58 vapier Exp $ |
4 |
|
4 |
|
5 |
EAPI="4" |
5 |
EAPI=5 |
6 |
inherit eutils toolchain-funcs libtool flag-o-matic bash-completion-r1 |
6 |
|
|
|
7 |
PYTHON_COMPAT=( python2_7 python3_{2,3} ) |
8 |
|
9 |
inherit eutils toolchain-funcs libtool flag-o-matic bash-completion-r1 python-single-r1 |
7 |
|
10 |
|
8 |
MY_PV=${PV/_/-} |
11 |
MY_PV=${PV/_/-} |
9 |
MY_P=${PN}-${MY_PV} |
12 |
MY_P=${PN}-${MY_PV} |
Lines 21-27
Link Here
|
21 |
|
24 |
|
22 |
LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain" |
25 |
LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain" |
23 |
SLOT="0" |
26 |
SLOT="0" |
24 |
IUSE="bash-completion caps +cramfs cytune fdformat ncurses nls old-linux pam selinux slang static-libs +suid test tty-helpers udev unicode" |
27 |
IUSE="bash-completion caps +cramfs cytune fdformat ncurses nls pam python selinux slang static-libs +suid test tty-helpers udev unicode" |
25 |
|
28 |
|
26 |
RDEPEND="!sys-process/schedutils |
29 |
RDEPEND="!sys-process/schedutils |
27 |
!sys-apps/setarch |
30 |
!sys-apps/setarch |
Lines 34-39
Link Here
|
34 |
cramfs? ( sys-libs/zlib ) |
37 |
cramfs? ( sys-libs/zlib ) |
35 |
ncurses? ( >=sys-libs/ncurses-5.2-r2 ) |
38 |
ncurses? ( >=sys-libs/ncurses-5.2-r2 ) |
36 |
pam? ( sys-libs/pam ) |
39 |
pam? ( sys-libs/pam ) |
|
|
40 |
python? ( ${PYTHON_DEPS} ) |
37 |
selinux? ( sys-libs/libselinux ) |
41 |
selinux? ( sys-libs/libselinux ) |
38 |
slang? ( sys-libs/slang ) |
42 |
slang? ( sys-libs/slang ) |
39 |
udev? ( virtual/udev )" |
43 |
udev? ( virtual/udev )" |
Lines 43-48
Link Here
|
43 |
test? ( sys-devel/bc ) |
47 |
test? ( sys-devel/bc ) |
44 |
virtual/os-headers" |
48 |
virtual/os-headers" |
45 |
|
49 |
|
|
|
50 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
51 |
|
46 |
S=${WORKDIR}/${MY_P} |
52 |
S=${WORKDIR}/${MY_P} |
47 |
|
53 |
|
48 |
src_prepare() { |
54 |
src_prepare() { |
Lines 79-91
Link Here
|
79 |
$(use_enable cramfs) \ |
85 |
$(use_enable cramfs) \ |
80 |
$(use_enable cytune) \ |
86 |
$(use_enable cytune) \ |
81 |
$(use_enable fdformat) \ |
87 |
$(use_enable fdformat) \ |
82 |
$(use_enable old-linux elvtune) \ |
|
|
83 |
--with-ncurses=$(usex ncurses $(usex unicode auto yes) no) \ |
88 |
--with-ncurses=$(usex ncurses $(usex unicode auto yes) no) \ |
84 |
--disable-kill \ |
89 |
--disable-kill \ |
85 |
--disable-last \ |
90 |
--disable-last \ |
86 |
--disable-login \ |
91 |
--disable-login \ |
87 |
$(use_enable tty-helpers mesg) \ |
92 |
$(use_enable tty-helpers mesg) \ |
|
|
93 |
--disable-nologin \ |
88 |
--enable-partx \ |
94 |
--enable-partx \ |
|
|
95 |
$(use_with python) \ |
89 |
--enable-raw \ |
96 |
--enable-raw \ |
90 |
--enable-rename \ |
97 |
--enable-rename \ |
91 |
--disable-reset \ |
98 |
--disable-reset \ |
Lines 106-111
Link Here
|
106 |
default |
113 |
default |
107 |
dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt,releases/*} |
114 |
dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt,releases/*} |
108 |
|
115 |
|
|
|
116 |
use python && python_optimize |
117 |
|
109 |
# need the libs in / |
118 |
# need the libs in / |
110 |
gen_usr_ldscript -a blkid mount uuid |
119 |
gen_usr_ldscript -a blkid mount uuid |
111 |
|
120 |
|