mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-07 05:34:45 +02:00
bump copyright of touched ebuilds to 2024 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Michał Górny <mgorny@gentoo.org>
33 lines
770 B
Bash
33 lines
770 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="Chroot any dynamically linked application in a safe and sane manner"
|
|
HOMEPAGE="https://chrootsafe.sourceforge.net/"
|
|
SRC_URI="https://downloads.sourceforge.net/${PN//_}/${P}.tgz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc ~riscv x86"
|
|
|
|
PATCHES=( "${FILESDIR}"/${P}-ldflags.patch )
|
|
|
|
src_configure() {
|
|
econf --libexecdir="${EPREFIX}/usr/$(get_libdir)"
|
|
}
|
|
|
|
src_compile() {
|
|
emake CPPFLAGS="${CXXFLAGS}" CXX="$(tc-getCXX)"
|
|
}
|
|
|
|
src_install() {
|
|
dolib.so chroot_safe.so
|
|
dosbin chroot_safe
|
|
sed -i -e "s:/chroot_safe::" "${ED}"/usr/sbin/chroot_safe \
|
|
|| die "sed chroot_safe failed"
|
|
doman chroot_safe.1
|
|
dodoc CHANGES.txt
|
|
}
|