blob: 263fc6c0c63686fbc1f4c458bd6705615695f62a (
plain) (
tree)
|
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{11..12} )
inherit autotools python-single-r1
DESCRIPTION="Shared library reduction script"
HOMEPAGE="https://salsa.debian.org/installer-team/mklibs"
SRC_URI="https://salsa.debian.org/installer-team/${PN}/-/archive/debian/${PV}/${PN}-debian-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="${PYTHON_DEPS}
app-arch/dpkg"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
S="${WORKDIR}/${PN}-debian-${PV}"
PATCHES=(
"${FILESDIR}/0001-mklibs-fix-usage.patch"
)
src_prepare() {
default
eautoreconf
}
src_install() {
default
python_doscript "${ED}/usr/bin/mklibs"
python_doscript "${ED}/usr/bin/mklibs-copy"
}
|