1 |
# Copyright 1999-2015 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/megatools/megatools-1.9.93.ebuild,v 1.1 2014/11/21 14:56:08 dlan Exp $ |
4 |
|
5 |
EAPI=5 |
6 |
|
7 |
AUTOTOOLS_AUTORECONF=1 |
8 |
AUTOTOOLS_IN_SOURCE_BUILD=1 |
9 |
inherit autotools-utils |
10 |
|
11 |
DESCRIPTION="Command line tools and C library for accessing Mega cloud storage" |
12 |
HOMEPAGE="https://github.com/megous/megatools" |
13 |
SRC_URI="https://github.com/megous/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
14 |
|
15 |
LICENSE="GPL-2" |
16 |
SLOT="0" |
17 |
KEYWORDS="~amd64 ~arm ~x86" |
18 |
IUSE="fuse introspection static-libs" |
19 |
|
20 |
COMMON_DEPEND="dev-libs/glib:2 |
21 |
dev-libs/openssl:0 |
22 |
net-misc/curl |
23 |
fuse? ( sys-fs/fuse ) |
24 |
" |
25 |
RDEPEND="${COMMON_DEPEND} |
26 |
net-libs/glib-networking[ssl] |
27 |
" |
28 |
DEPEND="${COMMON_DEPEND} |
29 |
virtual/pkgconfig |
30 |
app-text/asciidoc" |
31 |
|
32 |
src_configure() { |
33 |
local myeconfargs=( |
34 |
--enable-shared |
35 |
--enable-docs-build |
36 |
--disable-maintainer-mode |
37 |
--disable-warnings |
38 |
--disable-glibtest |
39 |
$(use_enable static-libs static) |
40 |
$(use_enable introspection) |
41 |
$(use_with fuse) |
42 |
) |
43 |
autotools-utils_src_configure |
44 |
} |