Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
1a6f1a2c
Commit
1a6f1a2c
authored
Jul 17, 2024
by
Ivan Mazhukin
Committed by
Vitaly Lipatov
Jul 19, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add winbox (eterbug #17528)
parent
dc84c4d2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
67 additions
and
0 deletions
+67
-0
winbox.sh
pack.d/winbox.sh
+23
-0
winbox.sh
play.d/winbox.sh
+15
-0
winbox.sh
repack.d/winbox.sh
+29
-0
No files found.
pack.d/winbox.sh
0 → 100644
View file @
1a6f1a2c
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
VERSION
=
"
$3
"
.
$(
dirname
$0
)
/common.sh
PKGNAME
=
$PRODUCT
-
$VERSION
.tar
mkdir
-p
opt/eepm-wine/
$PRODUCT
/
cat
<<
EOF
>opt/eepm-wine/
$PRODUCT
/run.sh
#!/bin/sh
RUNFILE="/opt/eepm-wine/winbox/winbox64.exe"
exec wine "\
$RUNFILE
" "\
$@
"
EOF
chmod
755 opt/eepm-wine/
$PRODUCT
/run.sh
cp
$TAR
opt/eepm-wine/
$PRODUCT
/
erc pack
$PKGNAME
opt/eepm-wine
return_tar
$PKGNAME
play.d/winbox.sh
0 → 100644
View file @
1a6f1a2c
#!/bin/sh
PKGNAME
=
winbox
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"3.40"
DESCRIPTION
=
'Winbox from the official site'
URL
=
"https://mikrotik.com/download"
.
$(
dirname
$0
)
/common.sh
warn_version_is_not_supported
PKGURL
=
"https://mt.lv/winbox64"
install_pack_pkgurl
$VERSION
repack.d/winbox.sh
0 → 100644
View file @
1a6f1a2c
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
winbox
PRODUCTDIR
=
/opt/eepm-wine/
$PRODUCT
.
$(
dirname
$0
)
/common.sh
add_requires
'/usr/bin/wine'
add_bin_link_command
$PRODUCT
$PRODUCTDIR
/run.sh
cat
<<
EOF
| create_file /usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
Name=WinBox
Exec=
$PRODUCT
%F
Type=Application
StartupNotify=true
Icon=
$PRODUCT
StartupWMClass=winbox64.exe
Categories=Wine;Network;
EOF
# copied from unpacked exe file: winbox64.exe
i
=
48
install_file ipfs://Qmdkgx2mstbxHtvFuooaUTrRL1tnz5XWh5seiyXQGkTmCW /usr/share/icons/hicolor/
${
i
}
x
${
i
}
/apps/
$PRODUCT
.png
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment