net-misc/megatools: fix build warning
authorYixun Lan <dlan@gentoo.org>
Mon, 12 Nov 2018 01:51:07 +0000 (01:51 +0000)
committerYixun Lan <dlan@gentoo.org>
Mon, 12 Nov 2018 01:56:06 +0000 (01:56 +0000)
fix unrecognized configure options issue,
bump EAPI=7

Closes: https://bugs.gentoo.org/668698
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Yixun Lan <dlan@gentoo.org>
net-misc/megatools/megatools-1.10.2-r1.ebuild [new file with mode: 0644]

diff --git a/net-misc/megatools/megatools-1.10.2-r1.ebuild b/net-misc/megatools/megatools-1.10.2-r1.ebuild
new file mode 100644 (file)
index 0000000..1d9b22e
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools eutils
+
+DESCRIPTION="Command line tools and C library for accessing Mega cloud storage"
+HOMEPAGE="https://github.com/megous/megatools"
+SRC_URI="https://github.com/megous/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+COMMON_DEPEND="dev-libs/glib:2
+       dev-libs/openssl:0=
+       net-misc/curl
+"
+RDEPEND="${COMMON_DEPEND}
+       net-libs/glib-networking[ssl]
+"
+DEPEND="${COMMON_DEPEND}
+       virtual/pkgconfig
+       app-text/asciidoc"
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       default
+       econf \
+               --disable-maintainer-mode \
+               --disable-warnings
+
+}