summaryrefslogtreecommitdiff
blob: 30805331116aef3a3830665363be6bcfad538b00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Littlewood-Richardson Calculator"
HOMEPAGE="https://sites.math.rutgers.edu/~asbuch/lrcalc/"
SRC_URI="${HOMEPAGE}${P}.tar.gz"

LICENSE="GPL-2+"
SLOT="0/1"
KEYWORDS="~amd64 ~x86 ~ppc-macos ~x64-macos ~x86-macos"
IUSE="static-libs test"
RESTRICT="!test? ( test )"

PATCHES=( "${FILESDIR}/${PN}-1.2-includes.patch" )

src_configure(){
	econf $(use_enable static-libs static)
}

src_install(){
	default
	find "${ED}" -name '*.la' -delete || die
}