summaryrefslogtreecommitdiff
blob: ad40fff6f2367cdf7efb903939bf496f1858bcb3 (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-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit git-r3

DESCRIPTION="process reaper intended for use as init-system in app-emulation/firejail"
HOMEPAGE="https://github.com/ScoreUnder/fjinit"
SRC_URI=""
EGIT_REPO_URI="https://github.com/ScoreUnder/${PN}"

LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"

src_prepare() {
	sed -r \
		-e 's#^(PREFIX).*#\1=/usr#' \
		-e "s#^(CFLAGS.*)-Os#\1 ${CFLAGS}#" \
		-e 's#^(LDFLAGS.*)-s#\1#' \
		-i config.mk
}