aboutsummaryrefslogtreecommitdiff
blob: c3671ce07778450f52fc94f06693d00fa2c1f55f (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DESCRIPTION="Simplify the creation of computer graphics software"
HOMEPAGE="http://mgarland.org/software/libgfx.html"
SRC_URI="http://mgarland.org/dist/${P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"

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

src_compile() {
	cd src || die
	default
}

src_install() {
	use static-libs && dolib.a src/*.a
	doheader include/gfx/gfx.h

	dohtml doc/*
}