aboutsummaryrefslogtreecommitdiff
blob: 89ffc22380ddee10b2cdd713d2e86b27e84d4f02 (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-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION='iMatix GSL code generator'
HOMEPAGE="https://github.com/zeromq/gsl"
SRC_URI="https://github.com/zeromq/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

KEYWORDS="~amd64"
LICENSE='GPL-3+'
SLOT="0"
IUSE="examples"

DEPEND="dev-libs/libpcre:3"
RDEPEND="${DEPEND}"

src_install() {
	DESTDIR="${D}/usr" emake install
	if use examples; then
		dodoc -r examples
		dodoc -r doc/examples
	fi
	dodoc doc/denormalizing*
	dodoc -r doc/modules
	dodoc README*
}