Lines 4-13
Link Here
|
4 |
|
4 |
|
5 |
inherit eutils |
5 |
inherit eutils |
6 |
|
6 |
|
7 |
IUSE="gnome nls" |
7 |
IUSE="dbus gnome nls" |
8 |
|
8 |
|
9 |
DESCRIPTION="A GTK+ Gnutella client" |
9 |
DESCRIPTION="A GTK+ Gnutella client" |
10 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
10 |
MY_P=${P/_beta/b} |
|
|
11 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" |
11 |
RESTRICT="nomirror" |
12 |
RESTRICT="nomirror" |
12 |
HOMEPAGE="http://gtk-gnutella.sourceforge.net/" |
13 |
HOMEPAGE="http://gtk-gnutella.sourceforge.net/" |
13 |
|
14 |
|
Lines 16-29
Link Here
|
16 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
17 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
17 |
|
18 |
|
18 |
DEPEND="dev-libs/libxml2 |
19 |
DEPEND="dev-libs/libxml2 |
19 |
=dev-libs/glib-2* =x11-libs/gtk+-2* |
20 |
=dev-libs/glib-2* |
|
|
21 |
=x11-libs/gtk+-2* |
20 |
dev-util/yacc |
22 |
dev-util/yacc |
|
|
23 |
dbus? ( sys-apps/dbus ) |
21 |
nls? ( >=sys-devel/gettext-0.11.5 )" |
24 |
nls? ( >=sys-devel/gettext-0.11.5 )" |
22 |
|
25 |
|
23 |
src_unpack() { |
26 |
S=${WORKDIR}/${MY_P} |
24 |
unpack ${A} |
|
|
25 |
cd ${S} |
26 |
} |
27 |
|
27 |
|
28 |
src_compile() { |
28 |
src_compile() { |
29 |
local myconf |
29 |
local myconf |
Lines 34-39
Link Here
|
34 |
myconf="${myconf} -Ud_enablenls" |
34 |
myconf="${myconf} -Ud_enablenls" |
35 |
fi |
35 |
fi |
36 |
|
36 |
|
|
|
37 |
if use dbus; then |
38 |
myconf="${myconf} -Ddbus=true" |
39 |
else |
40 |
myconf="${myconf} -Ddbus=false" |
41 |
fi |
42 |
|
37 |
./Configure -d -s -e \ |
43 |
./Configure -d -s -e \ |
38 |
-Dprefix="/usr" \ |
44 |
-Dprefix="/usr" \ |
39 |
-Dprivlib="/usr/share/gtk-gnutella" \ |
45 |
-Dprivlib="/usr/share/gtk-gnutella" \ |
Lines 51-56
Link Here
|
51 |
make INSTALL_PREFIX=${D} install || die "Install failed" |
57 |
make INSTALL_PREFIX=${D} install || die "Install failed" |
52 |
find ${D}/usr/share -type f -exec chmod a-x {} \; |
58 |
find ${D}/usr/share -type f -exec chmod a-x {} \; |
53 |
dodoc AUTHORS ChangeLog README TODO |
59 |
dodoc AUTHORS ChangeLog README TODO |
54 |
|
|
|
55 |
} |
60 |
} |
56 |
|
|
|