mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-04-30 04:47:28 -07:00
33 lines
664 B
Bash
33 lines
664 B
Bash
# Copyright 2023-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DESCRIPTION="Shared code used by several utilities written by Jody Bruchon"
|
|
HOMEPAGE="https://codeberg.org/jbruchon/libjodycode"
|
|
SRC_URI="https://codeberg.org/jbruchon/libjodycode/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/${PN}"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm64 ~riscv"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${P}-static-lib.patch
|
|
)
|
|
|
|
src_compile() {
|
|
emake manual sharedlib
|
|
}
|
|
|
|
src_install() {
|
|
emake \
|
|
DESTDIR="${D}" \
|
|
LIB_DIR="/usr/$(get_libdir)" \
|
|
PREFIX="${EPREFIX}"/usr \
|
|
install
|
|
|
|
docompress -x /usr/share/man
|
|
einstalldocs
|
|
}
|