blob: 1507eb35582ddb64ae57f48a6bb42afb01aaa392 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop
DESCRIPTION="Management Software for MikroTik RouterOS"
HOMEPAGE="https://mikrotik.com/"
SRC_URI="https://download.mikrotik.com/routeros/winbox/$(ver_cut 1-2)$(ver_cut 3-4)/WinBox_Linux.zip -> ${P}.zip"
S="${WORKDIR}"
LICENSE="MikroTik"
SLOT="0"
KEYWORDS="-* ~amd64"
RDEPEND="
media-libs/fontconfig
media-libs/freetype
media-libs/libglvnd
sys-libs/zlib
x11-libs/libX11
x11-libs/libxcb
x11-libs/libxkbcommon
x11-libs/xcb-util-image
x11-libs/xcb-util-keysyms
x11-libs/xcb-util-renderutil
x11-libs/xcb-util-wm
"
BDEPEND="app-arch/unzip"
RESTRICT="bindist mirror"
QA_PREBUILT="opt/winbox/WinBox"
src_install() {
exeinto /opt/winbox
doexe WinBox
insinto /opt/winbox
doins -r assets
dodir /opt/bin
dosym ../winbox/WinBox /opt/bin/winbox
doicon assets/img/winbox.png
make_desktop_entry winbox WinBox WinBox Network
}
|