Yixun Lan (dlan): > > EAPI=5 > > AUTOTOOLS_AUTORECONF=1 > AUTOTOOLS_IN_SOURCE_BUILD=1 > inherit autotools-utils > > 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 ~x86" > IUSE="introspection doc"
Why not provide static-libs USE flag? > > DEPEND="dev-libs/glib:2 > dev-libs/openssl openssl is missing slot 0 here which is the only slot providing headers. > net-misc/curl > sys-fs/fuse Probably not really worth the work, but afais fuse is automagically, so it could be made a USE flag after fixing the build system. > doc? ( app-text/asciidoc ) asciidoc is not an RDEPEND > " > RDEPEND="${DEPEND}" virtual/pkgconfig is missing from build-time dep (also not an RDEPEND) > > src_configure() { > local myeconfargs=( > --enable-shared > --disable-maintainer-mode > --disable-warnings > --disable-static > --disable-glibtest > $(use_enable introspection) > $(use_enable doc docs-build) > ) > autotools-utils_src_configure > } > > > Build fails here when doc USE flag is disabled. make[2]: *** No rule to make target `megadf.1', needed by `all'. Stop. I suggest to remove it and build docs unconditionally.