blob: d345b8d721e9d596a73a7af85d495a186fb50d06 (
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-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PV="$(ver_cut 1-2)"
DESCRIPTION="A collection of profiles for the AppArmor application security system"
HOMEPAGE="https://gitlab.com/apparmor/apparmor/wikis/home"
SRC_URI="http://mirrors.redcorelinux.org/redcorelinux/distfiles-next/apparmor-${PV}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="minimal"
RESTRICT="test"
S=${WORKDIR}/apparmor-${PV}/profiles
src_install() {
if use minimal ; then
insinto /etc/apparmor.d
doins -r apparmor.d/{abstractions,tunables}
else
default
fi
}
|