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

EAPI=5

inherit autotools eutils

DESCRIPTION="command-line utility to show process environment"
HOMEPAGE="https://github.com/jamesodhunt/procenv"
SRC_URI="https://github.com/jamesodhunt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
IUSE="test"

DEPEND="
	virtual/pkgconfig
	test? ( dev-libs/check )
"

src_prepare() {
	epatch \
		"${FILESDIR}"/${P}-sysmacros.patch \
		"${FILESDIR}"/${P}-flags.patch

	eautoreconf
}