blob: a8efeccf9be1f2b95911ae685b610efdf7fc0e53 (
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
|
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
COMMIT="634e0155e77bb539a5b35c0ea964bbc525ae3f74"
DESCRIPTION=" Whitelisting LD_PRELOAD libraries using LD_AUDIT"
HOMEPAGE="https://github.com/ForensicITGuy/libpreloadvaccine"
SRC_URI="https://github.com/ForensicITGuy/libpreloadvaccine/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
DOCS=( README.md )
PATCHES=(
"${FILESDIR}/${PN}-makefile.patch"
"${FILESDIR}/${PN}-fix-typo.patch"
)
#RESTRICT="!test? ( test )"
RESTRICT="test"
src_compile() {
emake build
use test && emake tests.out
}
src_install() {
dolib.so libpreloadvaccine.so
einstalldocs
}
|