Files
gentoo/dev-libs/libjodycode/libjodycode-3.0.1.ebuild
Jakov Smolić f00c75f38c dev-libs/libjodycode: add 3.0.1
Closes: https://bugs.gentoo.org/908301
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
2023-06-27 11:40:26 +02:00

34 lines
679 B
Bash

# Copyright 2023 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://github.com/jbruchon/libjodycode"
SRC_URI="https://github.com/jbruchon/libjodycode/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
# missing test script
# https://github.com/jbruchon/jdupes/issues/191
RESTRICT="test"
PATCHES=(
"${FILESDIR}"/${P}-static-lib.patch
)
src_compile() {
emake sharedlib
}
src_install() {
emake \
DESTDIR="${D}" \
LIB_DIR="/usr/$(get_libdir)" \
PREFIX="${EPREFIX}"/usr \
install
einstalldocs
}