Проект

Общее

Профиль

Файлы » klagent-11.0.0.29.ebuild

Тимофей Захарчук, 26 октября 2021 08:58 ВЕЧЕРА

 
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/b137f4c0/klnagent64_11.0.0-29_amd64.deb -> "${P}"_amd64.deb
13
	)
14
"
15

    
16
LICENSE=""
17
SLOT="0"
18
KEYWORDS="~amd64"
19
RESTRICT="mirror strip"
20

    
21

    
22
RDEPEND="
23
"
24

    
25
S="${WORKDIR}"
26

    
27
src_install() {
28

    
29
	cp -R "${WORKDIR}/etc" "${D}" || die "install failed!"
30
	cp -R "${WORKDIR}/opt" "${D}" || die "install failed!"
31
	cp -R "${WORKDIR}/var" "${D}" || die "install failed!"
32
}
33

    
34
pkg_postinst() {
35

    
36
    cp -r /opt/kaspersky/klnagent64/lib/bin/klnagent64 /etc/init.d
37
    elog "1. Внимание!!! Запустите /opt/kaspersky/klnagent64/lib/bin/setup/postinstall.pl"
38

    
39
}
(2-2/2)