Lines 2-8
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/paludis/paludis-0.70.0.ebuild,v 1.2 2011/11/11 20:12:43 vapier Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-0.70.0.ebuild,v 1.2 2011/11/11 20:12:43 vapier Exp $ |
4 |
|
4 |
|
5 |
inherit bash-completion eutils |
5 |
EAPI="3" |
|
|
6 |
|
7 |
PYTHON_DEPEND="python-bindings? 2:2.6" |
8 |
|
9 |
inherit bash-completion-r1 eutils python |
6 |
|
10 |
|
7 |
DESCRIPTION="paludis, the other package mangler" |
11 |
DESCRIPTION="paludis, the other package mangler" |
8 |
HOMEPAGE="http://paludis.pioto.org/" |
12 |
HOMEPAGE="http://paludis.pioto.org/" |
Lines 20-26
Link Here
|
20 |
dev-libs/libpcre |
24 |
dev-libs/libpcre |
21 |
sys-apps/file |
25 |
sys-apps/file |
22 |
pbins? ( >=app-arch/libarchive-2.8.4 ) |
26 |
pbins? ( >=app-arch/libarchive-2.8.4 ) |
23 |
python-bindings? ( >=dev-lang/python-2.6 >=dev-libs/boost-1.41.0 ) |
27 |
python-bindings? ( >=dev-libs/boost-1.41.0 ) |
24 |
ruby-bindings? ( >=dev-lang/ruby-1.8 ) |
28 |
ruby-bindings? ( >=dev-lang/ruby-1.8 ) |
25 |
xml? ( >=dev-libs/libxml2-2.6 ) |
29 |
xml? ( >=dev-libs/libxml2-2.6 ) |
26 |
search-index? ( >=dev-db/sqlite-3 )" |
30 |
search-index? ( >=dev-db/sqlite-3 )" |
Lines 54-59
Link Here
|
54 |
} |
58 |
} |
55 |
|
59 |
|
56 |
pkg_setup() { |
60 |
pkg_setup() { |
|
|
61 |
if use python-bindings; then |
62 |
python_pkg_setup |
63 |
fi |
64 |
|
57 |
if ! built_with_use dev-libs/libpcre cxx ; then |
65 |
if ! built_with_use dev-libs/libpcre cxx ; then |
58 |
eerror "Paludis needs dev-libs/libpcre built with C++ support" |
66 |
eerror "Paludis needs dev-libs/libpcre built with C++ support" |
59 |
eerror "Please build dev-libs/libpcre with USE=cxx support" |
67 |
eerror "Please build dev-libs/libpcre with USE=cxx support" |
Lines 99-105
Link Here
|
99 |
fi |
107 |
fi |
100 |
} |
108 |
} |
101 |
|
109 |
|
102 |
src_compile() { |
110 |
src_configure() { |
103 |
local repositories=`echo default unavailable unpackaged | tr -s \ ,` |
111 |
local repositories=`echo default unavailable unpackaged | tr -s \ ,` |
104 |
local environments=`echo default $(usev portage ) | tr -s \ ,` |
112 |
local environments=`echo default $(usev portage ) | tr -s \ ,` |
105 |
econf \ |
113 |
econf \ |
Lines 119-133
Link Here
|
119 |
--with-repositories=${repositories} \ |
127 |
--with-repositories=${repositories} \ |
120 |
--with-environments=${environments} \ |
128 |
--with-environments=${environments} \ |
121 |
|| die "econf failed" |
129 |
|| die "econf failed" |
|
|
130 |
} |
122 |
|
131 |
|
|
|
132 |
src_compile() { |
123 |
emake || die "emake failed" |
133 |
emake || die "emake failed" |
124 |
} |
134 |
} |
125 |
|
135 |
|
126 |
src_install() { |
136 |
src_install() { |
127 |
emake DESTDIR="${D}" install || die "install failed" |
137 |
emake DESTDIR="${ED}" install || die "install failed" |
128 |
dodoc AUTHORS README NEWS |
138 |
dodoc AUTHORS README NEWS |
129 |
|
139 |
|
130 |
BASHCOMPLETION_NAME="cave" dobashcompletion bash-completion/cave |
140 |
# It seems the change of eclass comes with a truncation of dobashcompletion to dobashcomp |
|
|
141 |
BASHCOMPLETION_NAME="cave" dobashcomp bash-completion/cave |
131 |
|
142 |
|
132 |
if use zsh-completion ; then |
143 |
if use zsh-completion ; then |
133 |
insinto /usr/share/zsh/site-functions |
144 |
insinto /usr/share/zsh/site-functions |