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
Vladislav
eepm
Commits
2ed20742
Commit
2ed20742
authored
Jun 06, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play aksusbd: add support for i386, aarch64, armhf
parent
3b548de7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
12 deletions
+48
-12
aksusbd.sh
pack.d/aksusbd.sh
+47
-11
aksusbd.sh
play.d/aksusbd.sh
+1
-1
No files found.
pack.d/aksusbd.sh
View file @
2ed20742
...
...
@@ -16,18 +16,54 @@ else
fatal
"How no idea how to handle
$TAR
"
fi
# select package by package type and target arch
pkgtype
=
"
$(
epm print info
-p
)
"
case
$pkgtype
in
rpm
)
pkg
=
"aksusbd-*.x86_64.rpm"
;;
deb
)
pkg
=
"aksusbd_*_amd64.deb"
;;
*
)
pkg
=
"aksusbd_*_amd64.deb"
;;
esac
if
[
"
$pkgtype
"
=
"rpm"
]
;
then
case
"
$(
epm print info
-a
)
"
in
x86_64
)
arch
=
"x86_64"
;;
x86
)
arch
=
"i386"
;;
aarch64
)
arch
=
"aarch64"
;;
armhf
)
arch
=
"armv7hl"
;;
*
)
fatal
"Unsupported arch"
;;
esac
pkg
=
"aksusbd-*.
$arch
.rpm"
else
case
"
$(
epm print info
-a
)
"
in
x86_64
)
arch
=
"amd64"
;;
x86
)
arch
=
"i386"
;;
aarch64
)
arch
=
"arm64"
;;
armhf
)
arch
=
"armhf"
;;
*
)
fatal
"Unsupported arch"
;;
esac
pkg
=
"aksusbd_*_
$arch
.deb"
fi
mv
-v
$PRODUCT
*
/pkg/
$pkg
.
||
fatal
...
...
play.d/aksusbd.sh
View file @
2ed20742
#!/bin/sh
PKGNAME
=
aksusbd
SUPPORTEDARCHES
=
"x86_64"
SUPPORTEDARCHES
=
"x86_64
x86 aarch64 armhf
"
DESCRIPTION
=
"Sentinel LDK daemon (HASP) from the official site"
.
$(
dirname
$0
)
/common.sh
...
...
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