Files
gentoo/sci-mathematics/rw/rw-0.9.ebuild
Michael Orlitzky 78773a4c1c sci-mathematics/rw: drop IUSE=""
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
2024-09-20 23:28:29 -04:00

29 lines
808 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Compute rank-width decompositions of graphs"
HOMEPAGE="https://sourceforge.net/projects/rankwidth/"
SRC_URI="https://downloads.sourceforge.net/project/rankwidth/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
# We have a file collision (librw.so) with xpaint, bug 560210.
RDEPEND="!media-gfx/xpaint"
src_configure() {
# The executable depends on igraph, which has gone off the rails
# upstream and has copy/pasted ~10 libraries into its src/ directory.
econf --disable-executable --disable-static
}
src_install() {
default
find "${ED}" -name '*.la' -delete \
|| die 'failed to delete libtool archives'
}