# Copyright 2018-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit autotools DESCRIPTION="A library allowing to download single files from a remote zip archive" HOMEPAGE="https://github.com/tihmstar/libfragmentzip" SHA="9f3ece6eda898d5f24888767fda548c8b6cdb06f" SRC_URI="https://github.com/tihmstar/libfragmentzip/archive/${SHA}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN}-${SHA}" LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64 ~ppc64 ~x86" DEPEND="dev-libs/libzip:= net-misc/curl >=dev-libs/tihmstar-libgeneral-80 virtual/zlib:=" RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}/configure-ac.patch" ) src_prepare() { touch config.h.in default eautoreconf } src_compile() { emake } src_install() { emake install DESTDIR="${D}" einstalldocs }