forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-misc/megatools: fix build warning
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 <[email protected]>
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
||
} |