You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-misc/megatools/megatools-1.10.3.ebuild

40 lines
763 B

# Copyright 1999-2020 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://megatools.megous.com"
SRC_URI="https://megatools.megous.com/builds/${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
sed -i -e "/^AC_PROG_CC/ a AM_PROG_AR" configure.ac || die
eautoreconf
}
src_configure() {
default
econf \
--disable-maintainer-mode \
--disable-warnings
}