Файлы » kesl-10.1.1.6421.ebuild
1 |
# Copyright 2020-2021 Gentoo Authors
|
---|---|
2 |
# Distributed under the terms of the GNU General Public License v2
|
3 |
|
4 |
EAPI=7 |
5 |
|
6 |
inherit desktop gnome2-utils unpacker xdg |
7 |
|
8 |
DESCRIPTION="Kaspersky Endpoint Security для Linux Дистрибутив" |
9 |
HOMEPAGE="https://kaspersky.ru/" |
10 |
SRC_URI=" |
11 |
amd64? (
|
12 |
https://products.s.kaspersky-labs.com/endpoints/keslinux10/10.1.1.6421/multilanguage-10.1.1.6421/babce9ef/kesl_10.1.1-6421_amd64.deb -> "${P}"_amd64.deb |
13 |
)
|
14 |
"
|
15 |
|
16 |
LICENSE="" |
17 |
SLOT="0" |
18 |
KEYWORDS="~amd64" |
19 |
RESTRICT="mirror strip" |
20 |
|
21 |
|
22 |
RDEPEND="sys-kernel/calculate-sources[minimal(-),vmlinuz(-)] |
23 |
dev-lang/perl
|
24 |
"
|
25 |
|
26 |
S="${WORKDIR}" |
27 |
|
28 |
src_install() { |
29 |
|
30 |
cp -R "${WORKDIR}/var/opt/kaspersky/kesl/install/etc" "${D}" || die "install failed!" |
31 |
cp -R "${WORKDIR}/var/opt/kaspersky/kesl/install/opt" "${D}" || die "install failed!" |
32 |
cp -R "${WORKDIR}/var/opt/kaspersky/kesl/install/usr" "${D}" || die "install failed!" |
33 |
cp -R "${WORKDIR}/var/opt/kaspersky/kesl/install/var" "${D}" || die "install failed!" |
34 |
}
|
35 |
|
36 |
pkg_postinst() { |
37 |
mkdir -p /var/log/kaspersky/kesl |
38 |
mkdir -p /var/log/kaspersky/kesl-user |
39 |
chmod 0777 /var/log/kaspersky/kesl-user
|
40 |
touch /var/log/kaspersky/kesl/kesl_launcher.log
|
41 |
elog "1. Внимание!!! Запустите /opt/kaspersky/kesl/bin/kesl-setup.pl"
|
42 |
|
43 |
}
|
- « Предыдущее
- 1
- 2
- Следующее »