blob: b691e3a0937329190403e707566a2f075c234300 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/lince/lince-1.0_rc1-r1.ebuild,v 1.1 2008/08/25 10:47:05 coldwind Exp $
EAPI="1"
MY_PV="${PV/_/-}"
MY_P="Lince-${MY_PV}"
DESCRIPTION="a light, powerfull and full feature gtkmm bittorrent client"
SRC_URI="mirror://sourceforge/lincetorrent/${MY_P}.tar.gz"
HOMEPAGE="http://lincetorrent.sourceforge.net"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="dbus libnotify"
RDEPEND="dev-cpp/gtkmm:2.4
dev-cpp/cairomm
>=dev-cpp/glibmm-2.16
>=net-libs/rb_libtorrent-0.13
dev-libs/libxml2
sys-devel/gettext
dbus? ( dev-libs/dbus-glib )
libnotify? ( x11-libs/libnotify )"
DEPEND="${RDEPEND}
dev-util/intltool"
S=${WORKDIR}/${MY_P}
src_compile() {
econf \
$(use_with dbus) \
$(use_with libnotify) || die "econf failed"
emake || die "emake failed"
}
src_install () {
emake DESTDIR="${D}" install || die "emake install failed"
}
|