gentoo-ebuilds/app-admin/chrpath/chrpath-0.16-r1.ebuild
Sam James bb068aac66
app-admin/chrpath: Keyword 0.16-r1 hppa, #938577
Signed-off-by: Sam James <sam@gentoo.org>
2025-03-13 15:07:20 +00:00

34 lines
904 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Chrpath can modify the rpath and runpath of ELF executables"
HOMEPAGE="https://directory.fsf.org/wiki/Chrpath"
SRC_URI="https://alioth-archive.debian.org/releases/${PN}/${PN}/${PV}/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~x64-solaris"
PATCHES=(
"${FILESDIR}"/${P}-multilib.patch
"${FILESDIR}"/${P}-testsuite-1.patch
"${FILESDIR}"/${P}-solaris.patch
)
src_prepare() {
default
# disable installing redundant docs in the wrong dir
sed -i -e '/doc_DATA/d' Makefile.am || die
# fix for automake-1.13, #467538
sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac || die
eautoreconf
}
src_install() {
default
find "${ED}" -name '*.la' -delete || die
}