aboutsummaryrefslogtreecommitdiff
blob: bffe9c21ffb4f8ec8727f1d4c7665664322a367a (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
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

MY_P="${PN}.${PV}"

DESCRIPTION="Mage is a 3D vector display program which shows 'kinemage' graphics"
HOMEPAGE="http://kinemage.biochem.duke.edu/software/mage.php"
SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/mage/${MY_P}.src.tgz"

LICENSE="richardson"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="sci-chemistry/prekin"
DEPEND="${RDEPEND}"

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

PATCHES=(
	"${FILESDIR}/${PV}-Makefile.patch"
)

src_compile() {
	emake \
		CC="$(tc-getCC)" \
		dynamic
}

src_install() {
	dobin "${S}"/mage
}