Skip to content

Commit

Permalink
app-admin/winbox: new package
Browse files Browse the repository at this point in the history
Signed-off-by: Vadim Misbakh-Soloviov <[email protected]>
  • Loading branch information
msva committed Sep 3, 2024
1 parent d9289be commit 26bc210
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-admin/winbox/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST WinBox_Linux.zip 22001744 BLAKE2B 16ea190427ef4ea0e9021d3fb96ebc6ebfd3aadb5b812130c1ef7bb54d52c06f5c90c49dace9e5831a721b3877f3eeaba1dbd1124e91c0b907d174470afa7c33 SHA512 fccace58595ea883898df03064f33b1892f8cf0e127fdfb21bdb8594a88f4e44865e9c4517109ea12b18cb42688837f471134abb630a40cfab18f4238b9df9bd
13 changes: 13 additions & 0 deletions app-admin/winbox/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<description>Also, you can find me on IRC (Libera.Chat) as mva, or in Telegram as @mva_name</description>
<name>Vadim A. Misbakh-Soloviov</name>
</maintainer>
<upstream>
<remote-id type="github">wp-cli/wp-cli</remote-id>
<bugs-to>https://github.com/wp-cli/wp-cli/issues</bugs-to>
</upstream>
</pkgmetadata>
42 changes: 42 additions & 0 deletions app-admin/winbox/winbox-4.0_beta1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop wrapper

DESCRIPTION="Standalone client for Mikrotik routers"
HOMEPAGE="https://mikrotik.com/"
MY_PN="WinBox"
SRC_URI="https://download.mikrotik.com/routeros/${PN}/${PV//_}/${MY_PN}_Linux.zip"

S="${WORKDIR}"

LICENSE="EULA"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
media-libs/fontconfig
media-libs/freetype
media-libs/libglvnd
sys-libs/zlib
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
"
DEPEND="app-arch/unzip"

src_install() {
# TODO: bundle old libxcb as it doesn't work with current
local instdir="/opt/${PN}"
insinto "${instdir}"
doins -r assets
exeinto "${instdir}"
doexe "${MY_PN}"
make_wrapper "${PN}" "./${MY_PN}" "${instdir}"
make_desktop_entry "${PN}" "${MY_PN}" "${PN}" # "/opt/${PN}/lib"
}

0 comments on commit 26bc210

Please sign in to comment.