mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 07:33:19 -04:00
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>
37 lines
818 B
Bash
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
|
|
}
|