gentoo/dev-util/libtree/libtree-3.1.1.ebuild
Arthur Zamarin 675d4b5287
dev-util/libtree: Keyword 3.1.1 arm64, #905046
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-10-04 20:29:50 +03:00

28 lines
600 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="ldd as a tree with an option to bundle dependencies into a single folder"
HOMEPAGE="https://github.com/haampie/libtree"
SRC_URI="https://github.com/haampie/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
PATCHES=(
"${FILESDIR}"/${P}-modern-c.patch
"${FILESDIR}"/${PN}-3.1.1-test-flags.patch
)
src_configure() {
tc-export CC
}
src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
}