Lines 3-9
Link Here
|
3 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/wireshark-1.8.2-r2.ebuild,v 1.4 2012/09/19 14:53:31 rich0 Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/wireshark-1.8.2-r2.ebuild,v 1.4 2012/09/19 14:53:31 rich0 Exp $ |
4 |
|
4 |
|
5 |
EAPI="4" |
5 |
EAPI="4" |
6 |
PYTHON_DEPEND="python? 2" |
6 |
PYTHON_DEPEND="2" |
7 |
inherit autotools eutils flag-o-matic python toolchain-funcs user |
7 |
inherit autotools eutils flag-o-matic python toolchain-funcs user |
8 |
|
8 |
|
9 |
[[ -n ${PV#*_rc} && ${PV#*_rc} != ${PV} ]] && MY_P=${PN}-${PV/_} || MY_P=${P} |
9 |
[[ -n ${PV#*_rc} && ${PV#*_rc} != ${PV} ]] && MY_P=${PN}-${PV/_} || MY_P=${P} |
Lines 97-106
Link Here
|
97 |
ewarn "USE=-gtk disables gtk-based gui called wireshark." |
97 |
ewarn "USE=-gtk disables gtk-based gui called wireshark." |
98 |
ewarn "Only command line utils will be built available" |
98 |
ewarn "Only command line utils will be built available" |
99 |
fi |
99 |
fi |
100 |
if use python; then |
100 |
python_set_active_version 2 |
101 |
python_set_active_version 2 |
101 |
python_pkg_setup |
102 |
python_pkg_setup |
|
|
103 |
fi |
104 |
# Add group for users allowed to sniff. |
102 |
# Add group for users allowed to sniff. |
105 |
enewgroup wireshark |
103 |
enewgroup wireshark |
106 |
} |
104 |
} |