Files
guru/dev-libs/boinc-zip/boinc-zip-7.18.ebuild
Anna (cybertailor) Vyalkova 1c202c07d5 dev-libs/boinc-zip: add 7.18, remove other
Notable changes:
* use make targets instead of sed voodoo
* do not use patch version as the library is rarely updated

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2021-07-19 13:10:27 +05:00

37 lines
818 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
MY_PN=${PN%%-*}
MY_PV="${PV}.0"
DESCRIPTION="Wrapper for the zip/unzip functions to expose to BOINC clients"
HOMEPAGE="https://boinc.berkeley.edu/trac/wiki/FileCompression"
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/client_release/${PV}/${MY_PV}.tar.gz -> ${MY_PN}-${MY_PV}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
S="${WORKDIR}/${MY_PN}-client_release-${PV}-${MY_PV}"
LICENSE="Info-ZIP LGPL-3+"
SLOT="0"
src_prepare() {
default
eautoreconf
}
src_configure() {
econf --enable-pkg-devel
}
src_compile() {
emake -C zip lib${PN//-/_}.la
}
src_install() {
emake -C zip install-{libLTLIBRARIES,pkgincludeHEADERS} DESTDIR="${D}"
find "${ED}" -name '*.la' -delete || die
}