summaryrefslogtreecommitdiff
path: root/sci-libs/libhomfly/libhomfly-1.04.ebuild
blob: 04b659b71dbc777967f39584fe056956f692e8fd (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
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_PV=$(ver_rs 2 r)
MY_P="${PN}-${MY_PV}"
DESCRIPTION="Library to compute the homfly polynomial of a link"
HOMEPAGE="https://github.com/miguelmarco/libhomfly"
SRC_URI="https://github.com/miguelmarco/${PN}/releases/download/${MY_PV}/${MY_P}.tar.gz"

S="${WORKDIR}/${MY_P}"

LICENSE="Unlicense"
SLOT="0"
KEYWORDS="~amd64 ~riscv"

DEPEND="dev-libs/boehm-gc"
RDEPEND="${DEPEND}"

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